[This is preliminary documentation and is subject to change.]
Copies the elements of the ICollection to an Array, starting at a particular arrayindex.
| C# | Visual Basic | Visual C++ |
public void CopyTo( Array array, int index )
Public Sub CopyTo ( _ array As Array, _ index As Integer _ )
public: void CopyTo( Array^ array, int index )
- array (Array)
- The one-dimensional Array that is the destination of the elements copied from ICollection. The array must have zero-based indexing.
- index (Int32)
- The zero-based index in array at which copying begins.