Metode Api.JetReadFileInstance
Mengambil konten file yang dibuka dengan JetOpenFileInstance(JET_INSTANCE, String, JET_HANDLE, Int64, Int64).
Namespace:Microsoft.Isam.Esent.Interop
Majelis: Microsoft.Isam.Esent.Interop (dalam Microsoft.Isam.Esent.Interop.dll)
Sintaks
'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
instance
Jenis: Microsoft.Isam.Esent.Interop.JET_INSTANCEInstans yang akan digunakan.
file
Jenis: Microsoft.Isam.Esent.Interop.JET_HANDLEFile yang akan dibaca.
Buffer
Jenis: []Buffer yang akan dibaca.
bufferSize
Jenis: System.Int32Ukuran buffer.
bytesRead
Jenis: System.Int32Mengembalikan jumlah data yang dibaca ke dalam buffer.