Partager via


AdoDotNetSchemaReader.GetBytes, méthode

Lit un flux d'octets en mémoire tampon comme tableau, en commençant à un offset spécifié

Espace de noms :  Microsoft.VisualStudio.Data.AdoDotNet
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
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

Paramètres

  • index
    Type : System.Int32
    Index dans le champ de données à partir duquel pour démarrer l'opération de lecture.
  • buffer
    Type : array<System.Byte[]
    Le tableau d'octets à lire.
  • bufferIndex
    Type : System.Int32
    Index dans la mémoire tampon à partir duquel commencer à définir les données.

Valeur de retour

Type : System.Int32
Retourne un tableau de flux d'octets.

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetSchemaReader Classe

Microsoft.VisualStudio.Data.AdoDotNet, espace de noms