AdoDotNetSchemaReader.GetBytes Method

Reads a stream of bytes into the buffer as an array, starting at a specified offset

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

Public Overrides Function GetBytes ( _
    index As Integer, _
    buffer As Byte(), _
    bufferIndex As Integer, _
    length As Integer _
) As Integer

Dim instance As AdoDotNetSchemaReader
Dim index As Integer
Dim buffer As Byte()
Dim bufferIndex As Integer
Dim length As Integer
Dim returnValue As Integer

returnValue = instance.GetBytes(index, _
    buffer, bufferIndex, length)
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
public override function GetBytes(
    index : int, 
    buffer : byte[], 
    bufferIndex : int, 
    length : int
) : int

Parameters

  • index
    Type: System.Int32

    Index into the data field from which to begin the read operation.

  • buffer
    Type: array<System.Byte[]

    The byte array to be read.

  • bufferIndex
    Type: System.Int32

    Index into the buffer at which to start placing the data.

Return Value

Type: System.Int32

Returns a byte stream array.

Permissions

See Also

Reference

AdoDotNetSchemaReader Class

AdoDotNetSchemaReader Members

Microsoft.VisualStudio.Data.AdoDotNet Namespace