Xceed Real-Time Zip for .NET Documentation
DoOpenWrite(FileSystemEventsSession,Boolean,FileShare,AbstractFile,Boolean,Stream,CompressionMethod,CompressionLevel,String) Method


Xceed.Zip Assembly > Xceed.Zip Namespace > ZippedFile Class > DoOpenWrite Method : DoOpenWrite(FileSystemEventsSession,Boolean,FileShare,AbstractFile,Boolean,Stream,CompressionMethod,CompressionLevel,String) Method
Syntax
'Declaration
 
Protected Overloads Overridable Function DoOpenWrite( _

   ByVal session As Xceed.FileSystem.FileSystemEventsSession, _

   ByVal overwrite As Boolean, _

   ByVal share As FileShare, _

   ByVal sourceFileHint As Xceed.FileSystem.AbstractFile, _

   ByVal openPhysicalStreamOnly As Boolean, _

   ByVal outputStream As Stream, _

   ByVal compressionMethod As CompressionMethod, _

   ByVal compressionLevel As CompressionLevel, _

   ByVal encryptionPassword As String _

) As Stream
'Usage
 
Dim instance As ZippedFile

Dim session As Xceed.FileSystem.FileSystemEventsSession

Dim overwrite As Boolean

Dim share As FileShare

Dim sourceFileHint As Xceed.FileSystem.AbstractFile

Dim openPhysicalStreamOnly As Boolean

Dim outputStream As Stream

Dim compressionMethod As CompressionMethod

Dim compressionLevel As CompressionLevel

Dim encryptionPassword As String

Dim value As Stream

 

value = instance.DoOpenWrite(session, overwrite, share, sourceFileHint, openPhysicalStreamOnly, outputStream, compressionMethod, compressionLevel, encryptionPassword)
protected virtual Stream DoOpenWrite( 

   Xceed.FileSystem.FileSystemEventsSession session,

   bool overwrite,

   FileShare share,

   Xceed.FileSystem.AbstractFile sourceFileHint,

   bool openPhysicalStreamOnly,

   Stream outputStream,

   CompressionMethod compressionMethod,

   CompressionLevel compressionLevel,

   string encryptionPassword

)

Parameters

session
overwrite
share
sourceFileHint
openPhysicalStreamOnly
outputStream
compressionMethod
compressionLevel
encryptionPassword
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

ZippedFile Class
ZippedFile Members
Overload List