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 例外狀況。

適用於

另請參閱