AdoDotNetTableReader.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
    缓冲区中开始的索引放置数据。

返回值

类型:System.Int32
指定的整数值偏移量开始阅读运行的限制。

实现

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

.NET Framework 安全性

请参见

参考

AdoDotNetTableReader 类

GetBytes 重载

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

GetBytes