[]
Gets the index of the column with a given name in the collection.
public int IndexOf(string colName)
Type | Name | Description |
---|---|---|
string | colName |
Type | Description |
---|---|
int | The index of the column, or -1 if the collection does not contain any columns with the given name. |