System.Data.DataTableCollection.Remove C# (CSharp) Метод

Remove() публичный Метод

Removes the specified table from the collection.
public Remove ( DataTable table ) : void
table DataTable
Результат void
        public void Remove(DataTable table)
        {
            long logScopeId = DataCommonEventSource.Log.EnterScope("<ds.DataTableCollection.Remove|API> {0}, table={1}", ObjectID, (table != null) ? table.ObjectID : 0);
            try
            {
                OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Remove, table));
                BaseRemove(table);
                OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, table));
            }
            finally
            {
                DataCommonEventSource.Log.ExitScope(logScopeId);
            }
        }

Same methods

DataTableCollection::Remove ( string name ) : void
DataTableCollection::Remove ( string name, string tableNamespace ) : void