共用方式為


AdoDotNetSchemaReader.GetBytes 方法 (Int32, array<Byte[], Int32, Int32)

讀取位元組資料流讀入緩衝區做為陣列,開始於指定的位移。

命名空間:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
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

參數

  • index
    類型:Int32

    索引的資料欄位開始讀取作業的。

  • buffer
    類型:array<Byte[]

    位元組陣列會讀取。

  • bufferIndex
    類型:Int32

    緩衝區中要開始的索引位置資料。

  • length
    類型:Int32

    位元組資料流的長度。

傳回值

類型:Int32
位元組的陣列。

實作

IVsDataReader.GetBytes(Int32, array<Byte[], Int32, Int32)

.NET Framework 安全性

請參閱

參考

AdoDotNetSchemaReader 類別

GetBytes 多載

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空間