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


Type: System.Byte[]

Buffer to write this stream to.

Type: System.Int32

The number of bytes to write into the stream.

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