Api.JetReadFileInstance-Methode

Ruft den Inhalt einer Datei ab, die mit JetOpenFileInstance(JET_INSTANCE, String, JET_HANDLE, Int64, Int64, Int64) geöffnet wurde.

Namespace:Microsoft.Isam.Esent.Interop
Versammlung: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Syntax

'Declaration
Public Shared Sub JetReadFileInstance ( _
    instance As JET_INSTANCE, _
    file As JET_HANDLE, _
    buffer As Byte(), _
    bufferSize As Integer, _
    <OutAttribute> ByRef bytesRead As Integer _
)
'Usage
Dim instance As JET_INSTANCE
Dim file As JET_HANDLE
Dim buffer As Byte()
Dim bufferSize As Integer
Dim bytesRead As IntegerApi.JetReadFileInstance(instance, _
    file, buffer, bufferSize, bytesRead)
public static void JetReadFileInstance(
    JET_INSTANCE instance,
    JET_HANDLE file,
    byte[] buffer,
    int bufferSize,
    out int bytesRead
)

Parameter

  • Puffer
    Typ: []

    Der zu lesende Puffer.

  • bytesRead
    Typ: System.Int32

    Gibt die Datenmenge zurück, die in den Puffer gelesen wird.

Siehe auch

Referenz

API-Klasse

API-Mitglieder

Microsoft.Isam.Esent.Interop-Namespace