Share via


Api.RetrieveColumnAsInt32 方法 (JET_SESID、JET_TABLEID、JET_COLUMNID、RetrieveColumnGrbit)

從目前記錄擷取 int32 資料行值。 記錄是與游標目前位置之索引項目目相關聯的記錄。

Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

語法

'Declaration
Public Shared Function RetrieveColumnAsInt32 ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    columnid As JET_COLUMNID, _
    grbit As RetrieveColumnGrbit _
) As Nullable(Of Integer)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim columnid As JET_COLUMNID
Dim grbit As RetrieveColumnGrbit
Dim returnValue As Nullable(Of Integer)

returnValue = Api.RetrieveColumnAsInt32(sesid, _
    tableid, columnid, grbit)
public static Nullable<int> RetrieveColumnAsInt32(
    JET_SESID sesid,
    JET_TABLEID tableid,
    JET_COLUMNID columnid,
    RetrieveColumnGrbit grbit
)

參數

傳回值

類型:System.Nullable<Int32>
從資料行擷取的資料做為 int。如果資料行為 Null,則為 Null。

另請參閱

參考

Api 類別

Api 成員

RetrieveColumnAsInt32 多載

Microsoft.Isam.Esent.Interop 命名空間