DataRelationCollection::Item Property (Int32)
.NET Framework (current version)
Gets the DataRelation object at the specified index.
Assembly: System.Data (in System.Data.dll)
public: property DataRelation^ default[ int index ] { virtual DataRelation^ get(int index) abstract; }
Parameters
- index
-
Type:
System::Int32
The zero-based index to find.
Property Value
Type: System.Data::DataRelation^The DataRelation, or a null value if the specified DataRelation does not exist.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | The index value is greater than the number of items in the collection. |
.NET Framework
Available since 1.1
Available since 1.1
Show: