Removes the first occurrence of the specified device.

Syntax

Namespace: NationalInstruments.ModularInstruments.SystemServices.TimingServices

public void Remove(ITClockSynchronizableDevice device)

Remarks

The list elements after the removed element shift up to occupy the vacated spot. Because the list elements are indexed, the indexes of the shifted elements are also updated.

Parameters

NameTypeDescription
deviceITClockSynchronizableDevice

Device to remove from the collection.

Exceptions

TypeDescription
System.ArgumentNullException

device  value is null.

System.ArgumentException

device  is already present in the collection.