This class contains a collection of DataTable objects and is accessed using the DataSet.Tables property. DataTable objects can be retrieved by table name or index. public class DataTableCollection : InternalDataCollectionBase { // Public Instance Properties public DataTable this[string name ] {get; } public DataTable this[int index ] {get; } // Protected Instance Properties protected override ArrayList List {get; } // overrides InternalDataCollectionBase // Public Instance Methods public virtual DataTable Add ( ); public virtual DataTable Add ( string name ); public virtual void Add ( DataTable table ); public void AddRange ( DataTable[ ] tables ); public bool CanRemove ( DataTable table ); public void Clear ( ); public bool Contains ( string name ); public virtual int IndexOf ( DataTable table ); public virtual int IndexOf ( string tableName ); public void Remove ( DataTable table ); public void Remove ( string name ); public void RemoveAt ( int index ); // Protected Instance Methods protected virtual void OnCollectionChanged (System.ComponentModel.CollectionChangeEventArgs ccevent ); protected internal virtual void OnCollectionChanging (System.ComponentModel.CollectionChangeEventArgs ccevent ); // Events public event CollectionChangeEventHandler CollectionChanged ; public event CollectionChangeEventHandler CollectionChanging ; } HierarchySystem.Object InternalDataCollectionBase(System.Collections.ICollection, System.Collections.IEnumerable) DataTableCollection Returned ByDataSet.Tables |