Gets the tables in the collection as an object.
[Visual Basic] Overridable Protected ReadOnly Property List As ObjectList [C#] protected ObjectList List {override get;} [C++] protected: __property virtual ObjectList* get_List(); [JScript] protected function get List() : ObjectList;
An ObjectList that contains all of tables.
The following example uses the List property of a TablesCollection to return an ObjectList.
[Visual Basic]
Private Sub GetObjectList() Dim objL As ObjectList Dim dSet As DataSet ' Get the DataSet from a DataGrid control Set dSet As DataGrid1.DataGridTable.DataTable.DataSet ' Get the TablesCollection as an ObjectList of the DataSet Set objL = dSet.List ' Not shown: Use properties and methods of the ObjectList to manipulate the list. End Sub
TablesCollection Class | TablesCollection Members | System.Data Namespace | ObjectList