ConstraintCollection::Item Property (Int32)
.NET Framework (current version)
Gets the Constraint from the collection at the specified index.
Assembly: System.Data (in System.Data.dll)
Parameters
- index
-
Type:
System::Int32
The index of the constraint to return.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | The index value is greater than the number of items in the collection. |
The following example gets each Constraint from the ConstraintCollection.
.NET Framework
Available since 1.1
Available since 1.1
Show: