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
型別:System.Int32
索引的資料欄位開始讀取作業的。
- buffer
型別:array<System.Byte[]
要讀取的位元組陣列。
- bufferIndex
型別:System.Int32
緩衝區中要開始的索引放置資料。
- length
型別:System.Int32
位元組資料流的長度。
傳回值
型別:System.Int32
位元組的陣列。
實作
IVsDataReader.GetBytes(Int32, array<Byte[], Int32, Int32)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。