DataTableCollection.AddRange Method (DataTable[])

 
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 the elements of the specified DataTable array to the end of the collection.

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

member AddRange : 
        tables:DataTable[] -> unit

Parameters

tables
Type: System.Data.DataTable[]

The array of DataTable objects to add to the collection.

The following example creates two DataTable objects and adds them to the DataTableCollection of a DataSet.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: