A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://accord-framework.net/docs/html/M_Accord_ExtensionMethods_Add_1.htm below:

ExtensionMethodsAdd Method (DataColumnCollection, String)

Creates and adds multiple DataColumn objects with the given names at once.

Namespace:  Accord
Assembly:

Accord (in Accord.dll) Version: 3.8.0

Syntax
public static void Add(
	this DataColumnCollection collection,
	params string[] columnNames
)
<ExtensionAttribute>
Public Shared Sub Add ( 
	collection As DataColumnCollection,
	ParamArray columnNames As String()
)
Request Example View Source Parameters
collection
Type: System.DataDataColumnCollection
The DataColumnCollection to add in.
columnNames
Type: SystemString
The names of the DataColumn to be created and added.
Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type

DataColumnCollection

. When you use instance method syntax to call this method, omit the first parameter. For more information, see

Extension Methods (Visual Basic)

or

Extension Methods (C# Programming Guide)

.

Examples
DataTable table = new DataTable();


table.Columns.Add("columnName1", "columnName2");
See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4