Api.RetrieveColumnAsInt16-Methode (JET_SESID, JET_TABLEID, JET_COLUMNID)
Ruft einen einzelnen Spaltenwert aus dem aktuellen Datensatz ab. Der Datensatz ist der Datensatz, der dem Indexeintrag an der aktuellen Position des Cursors zugeordnet ist.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Function RetrieveColumnAsInt16 ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
columnid As JET_COLUMNID _
) As Nullable(Of Short)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim columnid As JET_COLUMNID
Dim returnValue As Nullable(Of Short)
returnValue = Api.RetrieveColumnAsInt16(sesid, _
tableid, columnid)
public static Nullable<short> RetrieveColumnAsInt16(
JET_SESID sesid,
JET_TABLEID tableid,
JET_COLUMNID columnid
)
Parameter
sesid
Typ: Microsoft.Isam.Esent.Interop.JET_SESIDDie zu verwendende Sitzung.
tableid
Typ: Microsoft.Isam.Esent.Interop.JET_TABLEIDDer Cursor, aus dem die Spalte abgerufen werden soll.
columnid
Typ: Microsoft.Isam.Esent.Interop.JET_COLUMNIDDie abzurufende columnid.
Rückgabewert
Typ: System.Nullable<Int16>
Die aus der Spalte als Short abgerufenen Daten. NULL, wenn die Spalte NULL ist.