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 命名空间