JetReadFileInstance 方法

抓取以 JetOpenFileInstance (JET_INSTANCE、String、JET_HANDLE、int64、int64) 開啟的檔案內容。

命名空間: Microsoft. Isam. Interop
元件: (在 Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft。

語法

'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
)

參數

  • 緩衝區
    類型: []

    要讀入的緩衝區。

  • bytesRead
    類型: system.object

    傳回讀入緩衝區的資料量。

另請參閱

參考

Api 類別

Api 成員

Microsoft. Esent 命名空間