DtoTable オブジェクト
データベース内のテーブルを表すオブジェクトです。
プロパティ
True の場合、このテーブルを AddTable メソッド呼び出しの中での同じ名前のテーブルで上書きすることができます。
コレクション
DtoColumns コレクション
DtoIndexes コレクション
メソッド
なし
備考
DtoTable オブジェクトには Columns と Indexes という 2 つのコレクション オブジェクトがあります。 列やインデックスに関連するすべての操作は、これらのオブジェクトを使って行います。
辞書に新しいテーブルを追加するには、AddTable メソッドを使用します。
辞書からテーブルを削除するには、DropTable メソッドを使用します。
例
DtoTable オブジェクトを新規作成する例については、AddTable メソッドを参照してください。
Dim dictionary as new DtoDictionary
Dim table as new DtoTable
Dim result as DtoResult
Dim location as string
 
'Mytable テーブルのファイル名を調べる
result = dictionary.Open("d:\MyDemodata")
 
For Each table In dictionary.Tables
   If table.Name = "Mytable" Then
      location = table.Location
   End If
next
関連項目
DtoTables コレクション
DtoColumn オブジェクト
DtoIndex オブジェクト