NI-RFPM API Reference

Table of Contents

RfpmSwitchChannelCollection.Item Property (Int32)

  • Updated2023-12-28
  • 1 minute(s) read
RfpmSwitchChannelCollection.Item Property (Int32)

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: RfpmSwitchChannel
An object of the type RfpmSwitchChannel.

Return Value

Type: RfpmSwitchChannel
An object of the type RfpmSwitchChannel.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException The index is outside the bounds.
ObjectDisposedExceptionItemInt32 was accessed after the associated NIRfpmSwitch object was disposed.

See Also

Log in to get a better experience