SafeHashSetTCopyTo Method |
Copies the elements of a
SafeHashSetT object to an array, starting at the specified array index.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax public void CopyTo(
T[] array,
int arrayIndex
)
Parameters
- array
- Type: T
The one-dimensional array that is the destination of the elements copied from the SafeHashSetT object. 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 | If array is null. |
ArgumentOutOfRangeException | If arrayIndex is less than the lower bound of array. |
ArgumentException | If the number of elements in set is greater than the available number of elements from arrayIndex to the end of the destination array. |
See Also