ConstraintCollection::Item Property (String^)
.NET Framework (current version)
Gets the Constraint from the collection with the specified name.
Assembly: System.Data (in System.Data.dll)
Parameters
- name
-
Type:
System::String^
The ConstraintName of the constraint to return.
Property Value
Type: System.Data::Constraint^The Constraint with the specified name; otherwise a null value if the Constraint does not exist.
The following example gets the named Constraint.
.NET Framework
Available since 1.1
Available since 1.1
Show: