Copies the items of this set to the specified Array, starting at the specified index.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public void CopyTo( T[] array, int arrayIndex )
Parameters
- array
- Type: T
The one-dimensional Array that is the destination of the items copied from this set. 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
See Also