DataTableCollection.CopyTo Method (DataTable(), Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Copies all the elements of the current DataTableCollection to a one-dimensional Array, starting at the specified destination array index.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

Public Sub CopyTo (
	array As DataTable(),
	index As Integer
)

Parameters

array
Type: System.Data.DataTable()

The one-dimensional Array to copy the current DataTableCollection object's elements into.

index
Type: System.Int32

The destination Array index to start copying into.

This method can be overridden by a derived class.

.NET Framework
Available since 2.0
Return to top
Show: