CopyTo Method (GenericDataRowCollection)
The one-dimensional Array to copy the current object's elements into.
The destination Array index to start copying into.
Copies all the elements of the current GenericDataRowCollection to a one-dimensional Array, starting at the specified index.
Syntax
'Declaration
Public Sub CopyTo( _
ByVal _array_ As Array, _
ByVal _index_ As Integer _
)
public void CopyTo(
Array _array_,
int _index_
)
Parameters
array
The one-dimensional Array to copy the current object's elements into.
index
The destination Array index to start copying into.
Remarks
The implementation of CopyTo is delegated to DataRowCollection's CopyTo
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
GenericDataRowCollection Class
GenericDataRowCollection Members