NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

Item Property (String)

  • Updated2023-02-21
  • 2 minute(s) read
Item Property (String)
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
Represents 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

ExceptionCondition
ArgumentNullException Returns the exception when the paramenter name passed is null.
ArgumentOutOfRangeException Returns the exception when the name is not a valid channel name.

See Also

Log in to get a better experience