Click or drag to resize

SignalCollection.CopyTo Method

Copy the constituent signals to the given array, starting at the given index.

Namespace:  AGI.Foundation.Communications
Assembly:  AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public void CopyTo(
	Signal[] array,
	int arrayIndex
)

Parameters

array
Type:AGI.Foundation.Communications.Signal[]
The one-dimensional, zero-indexed array which is the destination of the copy.
arrayIndex
Type: System.Int32
The zero-indexed index at which to start the copy.

Implements

ICollection<T>.CopyTo(T[], Int32)
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentOutOfRangeExceptionarrayIndex is less than zero.
ArgumentExceptionarray is multidimensional.-or-arrayIndex is equal to or greater than the length of array.-or-The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.-or-Type T cannot be cast automatically to the type of the destination array.
See Also