Xceed .NET Libraries Documentation
WriteItemData(Stream) Method


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipWriter Class > WriteItemData Method : WriteItemData(Stream) Method
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
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

Reference

ZipWriter Class
ZipWriter Members
Overload List