Xceed Real-Time Zip for .NET Documentation
Xceed.Zip Assembly / Xceed.Zip.ReaderWriter Namespace / ZipWriter Class / WriteItemData Method / WriteItemData(Stream) Method
A System.IO.Stream object.


In This Topic
    WriteItemData(Stream) Method
    In This Topic
    Writes the entire contents of a stream to the ZipWriter object's stream
    Syntax
    'Declaration
     
    Public Overloads Function WriteItemData( _
       ByVal itemData As Stream _
    ) As Long
    'Usage
     
    Dim instance As ZipWriter
    Dim itemData As Stream
    Dim value As Long
     
    value = instance.WriteItemData(itemData)
    public long WriteItemData( 
       Stream itemData
    )

    Parameters

    itemData
    A System.IO.Stream object.

    Return Value

    Returns the total amount of bytes read from the supplied stream.
    Remarks
    The specified stream must support reading. It is not necessary for the stream to support seeking or writing. The specified stream is read using a 8kb buffer until the end of the stream is reached. The method does not close specified stream.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also