Export (0) Print
Expand All

DataColumnCollection.IndexOf Method

Searches for the specified DataColumn and returns the zero-based index of the first occurrence within the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method IndexOf(DataColumn) Gets the index of a column specified by name.
Public method IndexOf(String) Gets the index of the column with the specific name (the name is not case sensitive).
© 2014 Microsoft