Inserts a NationalInstruments.ModularInstruments.ITClockSynchronizableDevice object into the collection at the specified index.

Syntax

Namespace: NationalInstruments.ModularInstruments.SystemServices.TimingServices

public void Insert(int index, ITClockSynchronizableDevice device)

Remarks

The list elements after the inserted element shift down in the list. Because the list elements are indexed, the indexes of the shifted elements also are updated.

Parameters

NameTypeDescription
indexint

Index to insert the item at.

deviceITClockSynchronizableDevice

NationalInstruments.ModularInstruments.ITClockSynchronizableDevice object to insert into the collection.

Exceptions

TypeDescription
System.ArgumentNullException

device  is null.

System.ArgumentOutOfRangeException

index  is not a valid index.