SignalCollectionCopyTo 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
)
Public Sub CopyTo (
array As Signal(),
arrayIndex As Integer
)
public:
virtual void CopyTo(
array<Signal^>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array : Signal[] *
arrayIndex : int -> unit
override CopyTo :
array : Signal[] *
arrayIndex : int -> unit
Parameters
- array
- Type: AGI.Foundation.CommunicationsSignal
The one-dimensional, zero-indexed array which is the destination of the copy. - arrayIndex
- Type: SystemInt32
The zero-indexed index at which to start the copy.
Implements
ICollectionTCopyTo(T, Int32)Exceptions Exception | Condition |
---|
ArgumentNullException | array is null. |
ArgumentOutOfRangeException | arrayIndex is less than zero. |
ArgumentException | array is multidimensional.-or-arrayIndex is equal to or greater than the
length of array.-or-The number of elements in the source ICollectionT
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