System.Runtime.InteropServices.UCOMIStream Members

The members of System.Runtime.InteropServices.UCOMIStream are listed below.

Public Methods

Clone(out UCOMIStream)
Documentation for this section has not yet been entered.
Commit(int)

Ensures that any changes made to a stream object open in transacted mode are reflected in the parent storage.

CopyTo(UCOMIStream, long, IntPtr, IntPtr)

Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.

LockRegion(long, long, int)

Restricts access to a specified range of bytes in the stream.

Read(byte[], int, IntPtr)

Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.

Revert()

Discards all changes that have been made to a transacted stream since the last UCOMIStream.Commit(int) call.

Seek(long, int, IntPtr)

Changes the seek pointer to a new location relative to the beginning of the stream, to the end of the stream, or to the current seek pointer.

SetSize(long)

Changes the size of the stream object.

Stat(out STATSTG, int)
Documentation for this section has not yet been entered.
UnlockRegion(long, long, int)

Removes the access restriction on a range of bytes previously restricted with UCOMIStream.LockRegion(long, long, int).

Write(byte[], int, IntPtr)

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