Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax
C#
public void CopyTo( TNode[] array, int arrayIndex )
Parameters
- array
- Type: TNode
The one-dimensional Array that is the destination of the elements copied from ICollectionT. The Array must have zero-based indexing. - arrayIndex
- Type: SystemInt32
The zero-based index in array at which copying begins.
Implements
ICollectionTCopyTo(T, Int32)Exceptions
Exception | Condition |
---|---|
ArgumentNullException | array is null. |
ArgumentOutOfRangeException | arrayIndex is less than 0. |
ArgumentException | The number of elements in the source ICollectionT is greater than the available space from arrayIndex to the end of the destination array. |
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also