AdoDotNetDataTableReader.GetBytes(Int32, Byte[], Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
以指定的偏移量开始,将字节流作为数组读入缓冲区
public:
override int GetBytes(int index, cli::array <System::Byte> ^ buffer, int bufferIndex, int length);
public override int GetBytes (int index, byte[] buffer, int bufferIndex, int length);
override this.GetBytes : int * byte[] * int * int -> int
Public Overrides Function GetBytes (index As Integer, buffer As Byte(), bufferIndex As Integer, length As Integer) As Integer
参数
- index
- Int32
要从其开始读取操作的数据字段的索引。
- buffer
- Byte[]
要读取的字节数组。
- bufferIndex
- Int32
在缓冲区中索引开始放置数据的位置。
- length
- Int32
字节流的长度。
返回
返回一个整数值,该值指定开始读取字节流的偏移量。