NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ConstraintsCollection.Remove

[To be supplied.]

Overload List

Removes the constraint with the given name from the collection. An IndexOutOfRangeException is thrown if this collection doesn't have a constraint with the given name. The CollectionChanged event is fired if it succeeds.

[Visual Basic] Overloads Public Sub Remove(String)
[C#] public void Remove(String);
[C++] public: void Remove(String*);
[JScript] public function Remove(String);

Removes the constraint at the given index from the collection. An IndexOutOfRangeException is thrown if this collection doesn't have a constraint at this index. The CollectionChanged event is fired if it succeeds.

[Visual Basic] Overloads Public Sub Remove(Integer)
[C#] public void Remove(int);
[C++] public: void Remove(int);
[JScript] public function Remove(int);

Removes the given column from the collection. An ArgumentNullException is thrown if this constraint is null. An ArgumentException is thrown if this constraint doesn't belong to this collection.. The CollectionChanged event is fired if it succeeds.

[Visual Basic] Overloads Public Sub Remove(Constraint)
[C#] public void Remove(Constraint);
[C++] public: void Remove(Constraint*);
[JScript] public function Remove(Constraint);

See Also

ConstraintsCollection Class | ConstraintsCollection Members | System.Data Namespace