AdoDotNetSchemaReader.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
字节流的长度。
返回
字节流数组。