DataRelationCollection::IndexOf Method (DataRelation^)
.NET Framework (current version)
Gets the index of the specified DataRelation object.
Assembly: System.Data (in System.Data.dll)
Parameters
- relation
-
Type:
System.Data::DataRelation^
The relation to search for.
Return Value
Type: System::Int32The 0-based index of the relation, or -1 if the relation is not found in the collection.
.NET Framework
Available since 1.1
Available since 1.1
Show: