Redigera

Dela via


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

Definition

Throws a NotSupportedException exception in all cases.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

buffer
Byte[]

An array of bytes in which to store the data that is read from the stream.

offset
Int32

The zero-based byte offset in buffer at which to begin storing the data that is read from the stream.

count
Int32

The maximum number of bytes to read from the stream.

Returns

Throws a NotSupportedException exception in all cases.

Applies to

See also