description | title | TOCTitle | ms:assetid | ms:mtpsurl | ms:contentKeyID | ms.date | ms.topic | f1_keywords | dev_langs | api_name | topic_type | api_type | api_location | ROBOTS | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: Api.JetReadFileInstance method |
Api.JetReadFileInstance method |
JetReadFileInstance method |
M:Microsoft.Isam.Esent.Interop.Api.JetReadFileInstance(Microsoft.Isam.Esent.Interop.JET_INSTANCE,Microsoft.Isam.Esent.Interop.JET_HANDLE,System.Byte[],System.Int32,System.Int32@) |
55100781 |
07/30/2014 |
reference |
|
|
|
|
|
|
INDEX,FOLLOW |
Retrieves the contents of a file opened with JetOpenFileInstance(JET_INSTANCE, String, JET_HANDLE, Int64, Int64).
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
'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
)
-
instance
Type: Microsoft.Isam.Esent.Interop.JET_INSTANCEThe instance to use.
-
file
Type: Microsoft.Isam.Esent.Interop.JET_HANDLEThe file to read from.
-
buffer
Type: []The buffer to read into.
-
bufferSize
Type: System.Int32The size of the buffer.
-
bytesRead
Type: System.Int32Returns the amount of data read into the buffer.