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

 

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

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

void Write(
	byte[] pv,
	int cb,
	IntPtr pcbWritten
)

Parameters

pv
Type: System.Byte[]

Buffer to write this stream to.

cb
Type: System.Int32

The number of bytes to write into the stream.

pcbWritten
Type: System.IntPtr

On successful return, contains the actual number of bytes written to the stream object. The caller can set this pointer to null, in which case this method does not provide the actual number of bytes written.

For more information, please see the existing documentation for ISequentialStream::Write in the MSDN library.

.NET Framework
Available since 1.1
Return to top
Show: