ScopeChannelCollection Class
- Updated2023-09-06
- 3 minute(s) read
ScopeChannelCollection Class
Represents a strongly-typed collection of ScopeChannelCollection objects.
Inheritance Hierarchy
SystemObject
NationalInstruments.ModularInstruments.NIScopeScopeSubObject
NationalInstruments.ModularInstruments.NIScopeScopeChannelCollection
NationalInstruments.ModularInstruments.NIScopeScopeSubObject
NationalInstruments.ModularInstruments.NIScopeScopeChannelCollection
Namespace: NationalInstruments.ModularInstruments.NIScope
Assembly: NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023
Syntax
public sealed class ScopeChannelCollection : ScopeSubObject, IIviScopeChannelCollection, IIviRepeatedCapabilityCollection<IIviScopeChannel>, IEnumerable<IIviScopeChannel>, IEnumerable, IIviRepeatedCapabilityCollection<ScopeChannel>, IEnumerable<ScopeChannel>
Public NotInheritable Class ScopeChannelCollection Inherits ScopeSubObject Implements IIviScopeChannelCollection, IIviRepeatedCapabilityCollection(Of IIviScopeChannel), IEnumerable(Of IIviScopeChannel), IEnumerable, IIviRepeatedCapabilityCollection(Of ScopeChannel), IEnumerable(Of ScopeChannel)
The ScopeChannelCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the number of cached ScopeChannel objects in the collection, which is equal to the number of channels configured using a single-channel string (e.g., "0" or "1").
| |
| Item |
Gets a ScopeChannel object
from the collection with the specified name. In Visual C#, this property is the indexer.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the collection of single-channel ScopeChannel instances.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
For more information, refer to the Attributes section in the NI-SCOPE Function Reference Help.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.