AdoDotNetSchemaReader.GetBytes Method (Int32, array<Byte , Int32, Int32)
Reads a stream of bytes into the buffer as an array, starting at a specified offset.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overrides Function GetBytes ( _
index As Integer, _
buffer As Byte(), _
bufferIndex As Integer, _
length As Integer _
) As Integer
public override int GetBytes(
int index,
byte[] buffer,
int bufferIndex,
int length
)
public:
virtual int GetBytes(
int index,
array<unsigned char>^ buffer,
int bufferIndex,
int length
) override
abstract GetBytes :
index:int *
buffer:byte[] *
bufferIndex:int *
length:int -> int
override GetBytes :
index:int *
buffer:byte[] *
bufferIndex:int *
length:int -> int
public override function GetBytes(
index : int,
buffer : byte[],
bufferIndex : int,
length : int
) : int
Parameters
index
Type: System.Int32Index in the data field from which to begin the read operation.
buffer
Type: array<System.Byte[]The byte array to be read.
bufferIndex
Type: System.Int32Index in the buffer at which to start placing the data.
length
Type: System.Int32Length of the byte stream.
Return Value
Type: System.Int32
A byte stream array.
Implements
IVsDataReader.GetBytes(Int32, array<Byte[], Int32, Int32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.