读取字节流向缓冲区作为数组,开始在指定的偏移量
命名空间: Microsoft.VisualStudio.Data.AdoDotNet
程序集: Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.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
返回字节流数组。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。