COMCharStream.Read(Byte[], Int32, Int32) COMCharStream.Read(Byte[], Int32, Int32) COMCharStream.Read(Byte[], Int32, Int32) COMCharStream.Read(Byte[], Int32, Int32) Method

定義

在所有情況下都會擲回 NotSupportedException 例外狀況。Throws a NotSupportedException exception in all cases.

此 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[]

位元組的陣列,用來儲存自資料流讀取的資料。An array of bytes in which to store the data that is read from the stream.

offset
Int32 Int32 Int32 Int32

buffer 中以零起始的位元組位移,用來開始儲存自資料流讀取的資料。The zero-based byte offset in buffer at which to begin storing the data that is read from the stream.

count
Int32 Int32 Int32 Int32

自資料流中讀取的最大位元組數。The maximum number of bytes to read from the stream.

傳回

在所有情況下都會擲回 NotSupportedException 例外狀況。Throws a NotSupportedException exception in all cases.

適用於

另請參閱