This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
ConstraintsCollection Members
Public:
Properties
All |
Gets/sets all of the constraints that this collection holds. This throws an exception if any column that ultimately gets added shouldn't be added an if any column that ultimately gets removed shouldn't be removed. If an exception is thrown, the collection returns to it's original state. The CollectionChanged event is fired if it succeeds. |
Count (inherited from BaseCollection) |
[To be supplied.] |
IsReadOnly (inherited from BaseCollection) |
[To be supplied.] |
IsSynchronized (inherited from BaseCollection) |
[To be supplied.] |
Item |
Overloaded. [To be supplied.]
In C#, this member is the indexer for the ConstraintsCollection class.
|
SyncRoot (inherited from BaseCollection) |
[To be supplied.] |
Methods
Add |
Overloaded. [To be supplied.] |
CanRemoveConstraint |
Throws an exception if constraint can't be removed from collection. Otherwise it returns whether or not the constraint needs to be removed from the collection. |
Clear |
Clears the collection of any constraints. Fires the CollectionChangeEvent. |
Contains |
Overloaded. [To be supplied.] |
CopyTo (inherited from BaseCollection) |
[To be supplied.] |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetEnumerator (inherited from BaseCollection) |
[To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
IndexOf |
Overloaded. [To be supplied.] |
Remove |
Overloaded. [To be supplied.] |
ShouldPersistAll |
[To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Events
Protected:
Properties
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
IndexOf |
Overloaded. [To be supplied.] |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
OnCollectionChanged |
This method is called whenever the collection changes. Overriders of this method should call the base implementation of this method. |
Event Hookup:
Methods
See Also
ConstraintsCollection Class | System.Data Namespace