System::Data::DataColumnCollection::IndexOf method

DataColumnCollection::IndexOf method

Looks for column in collection.

int32_t System::Data::DataColumnCollection::IndexOf(const System::String &columnName)
ParameterTypeDescription
columnNameconst System::String&Name of column to look for.

ReturnValue

Column index if found, otherwise -1.

See Also