Item Property (String)
- Updated2023-02-21
- 2 minute(s) read
Gets the NISwitch.SwitchChannel object which corresponds to the channel name used in the name parameter.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)Visual Basic (Declaration) |
---|
Public ReadOnly Property Item ( _ name As String _ ) As SwitchChannel |
C# |
---|
public SwitchChannel Item[ string name ] { get; } |
Parameters
- name
- Type: System..::.StringRepresents the name of the channel in the NI-SWITCH device.
Property Value
Type: NationalInstruments.ModularInstruments.NISwitch..::.SwitchChannel Specifies a object of the type NISwitch.SwitchChannel
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Returns the exception when the paramenter name passed is null. |
ArgumentOutOfRangeException | Returns the exception when the name is not a valid channel name. |