建立字典,此字典會將資料行名稱對應至其資料行識別碼。
Namespace:Microsoft.Isam.Esent.Interop
裝配: microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
語法
'Declaration
Public Shared Function GetColumnDictionary ( _
sesid As JET_SESID, _
tableid As JET_TABLEID _
) As IDictionary(Of String, JET_COLUMNID)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim returnValue As IDictionary(Of String, JET_COLUMNID)
returnValue = Api.GetColumnDictionary(sesid, _
tableid)
public static IDictionary<string, JET_COLUMNID> GetColumnDictionary(
JET_SESID sesid,
JET_TABLEID tableid
)
參數
sesid
類型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的 sesid。
tableid
類型: Microsoft.Isam.Esent.Interop.JET_TABLEID要擷取資訊的資料表。
傳回值
類型:System.Collections.Generic.IDictionary<String,JET_COLUMNID>
字典會將資料行名稱對應至資料行識別碼。