Insert(int, DeviceToSynchronize)
- Updated2025-10-07
- 1 minute(s) read
Inserts a DeviceToSynchronize object into the collection at the specified index.
Syntax
Namespace: NationalInstruments.ModularInstruments.SystemServices.TimingServices
public void Insert(int index, DeviceToSynchronize deviceToSynchronize)
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 at which to insert the item. |
| deviceToSynchronize | DeviceToSynchronize | DeviceToSynchronize object to insert into the collection. |
Exceptions
| Type | Description |
|---|---|
| System.ArgumentNullException | deviceToSynchronize is null. |
| System.ArgumentOutOfRangeException | index is not a valid index. |