COMCharStream.Read(Byte[], Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在所有情況下都會投 NotSupportedException 出例外。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
override int Read(cli::array <System::Byte> ^ buffer, int offset, int count);
public override int Read(byte[] buffer, int offset, int count);
override this.Read : byte[] * int * int -> int
Public Overrides Function Read (buffer As Byte(), offset As Integer, count As Integer) As Integer
參數
- buffer
- Byte[]
一個用來儲存從串流讀取資料的位元組陣列。
- offset
- Int32
以零為基礎的位元組偏移 buffer 量,從該位元組開始儲存從串流讀取的資料。
- count
- Int32
從串流中讀取的最大位元組數。
傳回
在所有情況下都會投 NotSupportedException 出例外。