In This Topic
Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index.
Syntax
'Declaration
Public Sub CopyTo( _
ByVal As System.Array, _
ByVal As System.Integer _
)
public void CopyTo(
System.Array ,
System.int
)
Parameters
- array
- The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing.
- index
- The zero-based index in at which copying begins.
Exceptions
Exception | Description |
System.NotImplementedException | The exception that is thrown when a requested method or operation is not implemented. |
See Also