Método Api.JetRetrieveKey
Recupera la clave de la entrada de índice en la posición actual de un cursor. Consulte también RetrieveKey(JET_SESID, JET_TABLEID, RetrieveKeyGrbit).
Espacio de nombres:Microsoft.Isam.Esent.Interop
Ensamblaje: Microsoft.Isam.Esent.Interop (en Microsoft.Isam.Esent.Interop.dll)
Sintaxis
'Declaration
Public Shared Sub JetRetrieveKey ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
data As Byte(), _
dataSize As Integer, _
<OutAttribute> ByRef actualDataSize As Integer, _
grbit As RetrieveKeyGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim data As Byte()
Dim dataSize As Integer
Dim actualDataSize As Integer
Dim grbit As RetrieveKeyGrbitApi.JetRetrieveKey(sesid, tableid, _
data, dataSize, actualDataSize, grbit)
public static void JetRetrieveKey(
JET_SESID sesid,
JET_TABLEID tableid,
byte[] data,
int dataSize,
out int actualDataSize,
RetrieveKeyGrbit grbit
)
Parámetros
sesid
Tipo: Microsoft.Isam.Esent.Interop.JET_SESIDSesión que se va a usar.
tableid
Tipo: Microsoft.Isam.Esent.Interop.JET_TABLEIDCursor del que se va a recuperar la clave.
datos
Tipo: []Búfer en el que se va a recuperar la clave.
dataSize
Tipo: System.Int32Tamaño del búfer.
actualDataSize
Tipo: System.Int32Devuelve el tamaño real de los datos.
grbit
Tipo: Microsoft.Isam.Esent.Interop.RetrieveKeyGrbitRecupere las opciones de clave.