Insert(int, ITClockSynchronizableDevice)
- Updated2025-10-07
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| index | int | Index to insert the item at. |
| device | ITClockSynchronizableDevice | NationalInstruments.ModularInstruments.ITClockSynchronizableDevice object to insert into the collection. |
Exceptions
| Type | Description |
|---|---|
| System.ArgumentNullException | device is null. |
| System.ArgumentOutOfRangeException | index is not a valid index. |