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).
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft