COMCharStream.Read(Byte[], Int32, Int32) 方法

定義

在所有情況下都會投 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 出例外。

適用於

另請參閱