menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CompoundStream - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CompoundStream

    This interface represents stream in the compound file.

    Inheritance
    System.Object
    System.MarshalByRefObject
    System.IO.Stream
    CompoundStream
    Implements
    System.IDisposable
    Inherited Members
    System.IO.Stream.BeginRead(System.Byte[], System.Int32, System.Int32, System.AsyncCallback, System.Object)
    System.IO.Stream.BeginWrite(System.Byte[], System.Int32, System.Int32, System.AsyncCallback, System.Object)
    System.IO.Stream.CanRead
    System.IO.Stream.CanSeek
    System.IO.Stream.CanTimeout
    System.IO.Stream.CanWrite
    System.IO.Stream.Close()
    System.IO.Stream.CopyTo(System.IO.Stream)
    System.IO.Stream.CopyTo(System.IO.Stream, System.Int32)
    System.IO.Stream.CopyToAsync(System.IO.Stream)
    System.IO.Stream.CopyToAsync(System.IO.Stream, System.Int32)
    System.IO.Stream.CopyToAsync(System.IO.Stream, System.Int32, System.Threading.CancellationToken)
    System.IO.Stream.CreateWaitHandle()
    System.IO.Stream.Dispose()
    System.IO.Stream.Dispose(System.Boolean)
    System.IO.Stream.EndRead(System.IAsyncResult)
    System.IO.Stream.EndWrite(System.IAsyncResult)
    System.IO.Stream.Flush()
    System.IO.Stream.FlushAsync()
    System.IO.Stream.FlushAsync(System.Threading.CancellationToken)
    System.IO.Stream.Length
    System.IO.Stream.Null
    System.IO.Stream.ObjectInvariant()
    System.IO.Stream.Position
    System.IO.Stream.Read(System.Byte[], System.Int32, System.Int32)
    System.IO.Stream.ReadAsync(System.Byte[], System.Int32, System.Int32)
    System.IO.Stream.ReadAsync(System.Byte[], System.Int32, System.Int32, System.Threading.CancellationToken)
    System.IO.Stream.ReadByte()
    System.IO.Stream.ReadTimeout
    System.IO.Stream.Seek(System.Int64, System.IO.SeekOrigin)
    System.IO.Stream.SetLength(System.Int64)
    System.IO.Stream.Synchronized(System.IO.Stream)
    System.IO.Stream.Write(System.Byte[], System.Int32, System.Int32)
    System.IO.Stream.WriteAsync(System.Byte[], System.Int32, System.Int32)
    System.IO.Stream.WriteAsync(System.Byte[], System.Int32, System.Int32, System.Threading.CancellationToken)
    System.IO.Stream.WriteByte(System.Byte)
    System.IO.Stream.WriteTimeout
    System.MarshalByRefObject.CreateObjRef(System.Type)
    System.MarshalByRefObject.GetLifetimeService()
    System.MarshalByRefObject.InitializeLifetimeService()
    System.MarshalByRefObject.MemberwiseClone(System.Boolean)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.CompoundFile.DocIO
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public abstract class CompoundStream : Stream, IDisposable

    Constructors

    CompoundStream(String)

    Initializes new instance of the compound stream object.

    Declaration
    public CompoundStream(string streamName)
    Parameters
    Type Name Description
    System.String streamName

    Name of the stream.

    Properties

    Name

    Returns name of the stream.

    Declaration
    public string Name { get; protected set; }
    Property Value
    Type
    System.String

    Methods

    CopyTo(CompoundStream)

    Copies stream content into another stream object.

    Declaration
    public virtual void CopyTo(CompoundStream stream)
    Parameters
    Type Name Description
    CompoundStream stream

    Stream to copy data into.

    Implements

    System.IDisposable

    Extension Methods

    ExtensionMethods.GetBytes(Stream)
    ExtensionMethods.CopyTo(Stream, Stream)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved