Επεξεργασία

Κοινή χρήση μέσω


IStream.Write(Byte[], Int32, IntPtr) Method

Definition

Writes a specified number of bytes into the stream object starting at the current seek pointer.

public:
 void Write(cli::array <System::Byte> ^ pv, int cb, IntPtr pcbWritten);
public void Write (byte[] pv, int cb, IntPtr pcbWritten);
abstract member Write : byte[] * int * nativeint -> unit
Public Sub Write (pv As Byte(), cb As Integer, pcbWritten As IntPtr)

Parameters

pv
Byte[]

The buffer to write this stream to.

cb
Int32

The number of bytes to write to the stream.

pcbWritten
IntPtr

nativeint

A pointer to a uint variable where this method writes the actual number of bytes written to the stream object. The caller can set this pointer to Zero, in which case this method does not provide the actual number of bytes written.

Remarks

For more information, see the existing documentation for ISequentialStream::Write.

Applies to