Copies the elements in the Set to an array. The type of array needs
to be compatible with the objects in the Set, obviously.
Namespace: Iesi.Collections.GenericAssembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)
Syntax
C# |
---|
public abstract void CopyTo( T[] array, int index ) |
Visual Basic |
---|
Public MustOverride Sub CopyTo ( _ array As T(), _ index As Integer _ ) |
Visual C++ |
---|
public: virtual void CopyTo( array<T>^ array, int index ) abstract |
Parameters
- array
- Type: array<T>[]()[][]
An array that will be the target of the copy operation.
- index
- Type: System..::..Int32
The zero-based index where copying will start.