#ConstraintCollection

##Properties

Datatype Property name Property description Default Value
Int32 Capacity Gets or sets the number of elements that the System.Collections.CollectionBase can contain. 0
Int32 Count Gets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. 0
Constraint Item Gets the Izenda.AdHoc.Database.Column at the specified index of the Izenda.AdHoc.Database.ColumnCollection instance. null

##Methods

###Add(Izenda.AdHoc.Database.Constraint)

Parameters:


###Clear() Removes all objects from the System.Collections.CollectionBase instance. This method cannot be overridden.


###Contains(Izenda.AdHoc.Database.Constraint) Determines whether or not the specified Izenda.AdHoc.Database.Constraint is in the Izenda.AdHoc.Database.ConstraintCollection.

Parameters:


###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.

Parameters:

Returns:

true if the specified System.Object is equal to the current System.Object; otherwise, false.


###GetEnumerator() Returns an enumerator that iterates through the System.Collections.CollectionBase instance.

Returns:

An System.Collections.IEnumerator for the System.Collections.CollectionBase instance.


###GetHashCode() Serves as a hash function for a particular type.

Returns:

A hash code for the current System.Object.


###GetType() Gets the System.Type of the current instance.

Returns:

The System.Type instance that represents the exact runtime type of the current instance.


###IndexOf(Izenda.AdHoc.Database.Constraint) Gets the numerical index of the specified Izenda.AdHoc.Database.Constraint.

Parameters:

Returns:

The index of the specified Izenda.AdHoc.Database.Constraint.


###Insert(System.Int32,Izenda.AdHoc.Database.Constraint) Inserts the specified Izenda.AdHoc.Database.Constraint into the Izenda.AdHoc.Database.ConstraintCollection at the specified index.

Parameters:


###Remove(Izenda.AdHoc.Database.Constraint) Removes the specified Izenda.AdHoc.Database.Constraint from the Izenda.AdHoc.Database.ConstraintCollection.

Parameters:


###RemoveAt(System.Int32) Removes the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable.

Parameters:

  • System.Int32 index - The zero-based index of the element to remove.

###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.