Adds an item to the end of the collection.

Syntax

Namespace: NationalInstruments.ModularInstruments.SystemServices.TimingServices

public int Add(DeviceToSynchronize device)

Remarks

The array index of the added item.

Parameters

NameTypeDescription
deviceDeviceToSynchronize

DeviceToSynchronize object to be added to the collection.

Exceptions

TypeDescription
System.ArgumentNullException

device  value is null.

System.ArgumentException

device  is already present in the collection.