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!

TableSettingsCollection.Remove (TableSetting)

Removes the specified TableSetting from the collection.

[Visual Basic]
Overloads Public Sub Remove( _
   ByVal tableSetting As TableSetting _
)
[C#]
public void Remove(
   TableSetting tableSetting
);
[C++]
public: void Remove(
   TableSetting* tableSetting
);
[JScript]
public function Remove(
   tableSetting : TableSetting
);

Parameters

tableSetting
The TableSetting to remove.

Exceptions

Exception Type Condition
ArgumentNullException The tableSetting parameter is a null reference (in Visual Basic Nothing).
ArgumentException The TableSetting doesn't belong to this collection.

-Or-

The TableSetting is part of a relationship.

-Or-

Another TableSetting object's compute expression depends on this TableSetting.

Remarks

The OnCollectionChanged event occurs if the collection is successfully changed.

See Also

TableSettingsCollection Class | TableSettingsCollection Members | System.Data Namespace | TableSettingsCollection.Remove Overload List