AddRange Method
Collapse the table of content
Expand the table of content

DataColumnCollection.AddRange Method

Copies the elements of the specified DataColumn array to the end of the collection.

[Visual Basic]
Public Sub AddRange( _
   ByVal columns() As DataColumn _
)
[C#]
public void AddRange(
 DataColumn[] columns
);
[C++]
public: void AddRange(
 DataColumn* columns[]
);
[JScript]
public function AddRange(
   columns : DataColumn[]
);

Parameters

columns
The array of DataColumn objects to add to the collection.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DataColumnCollection Class | DataColumnCollection Members | System.Data Namespace

Show:
© 2016 Microsoft