Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Recupera il contenuto di un file aperto con JetOpenFileInstance(JET_INSTANCE, String, JET_HANDLE, Int64, Int64)..
Spazio dei nomi:Microsoft.Isam.Esent.Interop
Assemblea: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Sintassi
'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
)
Parametri
instance
Tipo: Microsoft.Isam.Esent.Interop.JET_INSTANCEIstanza da usare.
file
Tipo: Microsoft.Isam.Esent.Interop.JET_HANDLEFile da cui leggere.
buffer
Tipo: []Buffer da leggere.
bufferSize
Tipo: System.Int32Dimensione del buffer.
byteRead
Tipo: System.Int32Restituisce la quantità di dati letti nel buffer.