[]
IStream
[Guid("0000000c-0000-0000-C000-000000000046")]
[Shadow(typeof(ComStreamShadow))]
public interface IStream : IStreamBase, ICallbackable, IDisposable
Name | Description |
---|---|
Clone() | Clones this instance. |
Commit(CommitFlags) | Commit method ensures that any changes made to a stream object open in transacted mode are reflected in the parent storage. If the stream object is open in direct mode, Commit has no effect other than flushing all memory buffers to the next-level storage object. The COM compound file implementation of streams does not support opening streams in transacted mode. |
CopyTo(IStream, long, out long) | Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream. |
GetStatistics(StorageStatisticsFlags) | Gets the statistics. |
LockRegion(long, long, LockType) | Restricts access to a specified range of bytes in the stream. |
Revert() | Discards all changes that have been made to a transacted stream since the last Commit(CommitFlags) call. |
Seek(long, SeekOrigin) | 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. |
UnlockRegion(long, long, LockType) | Unlocks access to a specified range of bytes in the stream. |