IndexOf()

DataColumnCollection::IndexOf(const System::String&) method

Looks for column in collection.

int32_t System::Data::DataColumnCollection::IndexOf(const System::String &columnName)

Arguments

ParameterTypeDescription
columnNameconst System::String&Name of column to look for.

Return Value

Column index if found, otherwise -1.

See Also