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 );
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. |
The OnCollectionChanged event occurs if the collection is successfully changed.
TableSettingsCollection Class | TableSettingsCollection Members | System.Data Namespace | TableSettingsCollection.Remove Overload List