Método Api.JetRetrieveKey

Recupera a chave para a entrada de índice na posição atual de um cursor. Consulte também RetrieveKey(JET_SESID, JET_TABLEID, RetrieveKeyGrbit).

Namespace:Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (em Microsoft.Isam.Esent.Interop.dll)

Sintaxe

'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

  • data
    Tipo: []

    O buffer no qual recuperar a chave.

  • actualDataSize
    Tipo: System.Int32

    Retorna o tamanho real dos dados.

Confira também

Referência

Classe de API

Membros da API

Namespace Microsoft.Isam.Esent.Interop