AdoDotNetSchemaReader.GetBytes(Int32, Byte[], Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads a stream of bytes into the buffer as an array, starting at a specified offset
public:
override int GetBytes(int index, cli::array <System::Byte> ^ buffer, int bufferIndex, int length);
public override int GetBytes (int index, byte[] buffer, int bufferIndex, int length);
override this.GetBytes : int * byte[] * int * int -> int
Public Overrides Function GetBytes (index As Integer, buffer As Byte(), bufferIndex As Integer, length As Integer) As Integer
Parameters
- index
- Int32
Index into the data field from which to begin the read operation.
- buffer
- Byte[]
The byte array to be read.
- bufferIndex
- Int32
Index into the buffer at which to start placing the data.
- length
- Int32
Length of the byte stream.
Returns
Returns a byte stream array.