RfpmSwitchChannelCollection.Item Property (Int32)
- Updated2023-12-28
- 1 minute(s) read
RfpmSwitchChannelCollectionItem Property (Int32)
Gets the RfpmSwitchChannel object for the specified index.
Namespace: NationalInstruments.ModularInstruments.NIRfpmSwitch
Assembly: NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40 (in NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40.dll) Version: 2023
Syntax
public RfpmSwitchChannel this[ int index ] { get; }
Public ReadOnly Default Property Item ( index As Integer ) As RfpmSwitchChannel Get
Parameters
- index
- Type: SystemInt32
The index of the channel in the switch device.
Property Value
Type: RfpmSwitchChannelAn object of the type RfpmSwitchChannel.
Return Value
Type: RfpmSwitchChannelAn object of the type RfpmSwitchChannel.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The index is outside the bounds. |
ObjectDisposedException | ItemInt32 was accessed after the associated NIRfpmSwitch object was disposed. |