'Declaration Public Overloads Function OpenWrite( _ ByVal events As Xceed.FileSystem.FileSystemEvents, _ ByVal userData As Object, _ ByVal compressionMethod As CompressionMethod, _ ByVal compressionLevel As CompressionLevel, _ ByVal encryptionPassword As String, _ ByVal encryptionMethod As EncryptionMethod, _ ByVal encryptionStrength As Integer _ ) As Stream
'Usage Dim instance As ZippedFile Dim events As Xceed.FileSystem.FileSystemEvents Dim userData As Object Dim compressionMethod As CompressionMethod Dim compressionLevel As CompressionLevel Dim encryptionPassword As String Dim encryptionMethod As EncryptionMethod Dim encryptionStrength As Integer Dim value As Stream value = instance.OpenWrite(events, userData, compressionMethod, compressionLevel, encryptionPassword, encryptionMethod, encryptionStrength)
public Stream OpenWrite( Xceed.FileSystem.FileSystemEvents events, object userData, CompressionMethod compressionMethod, CompressionLevel compressionLevel, string encryptionPassword, EncryptionMethod encryptionMethod, int encryptionStrength )
Parameters
- events
- A Xceed.FileSystem.FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
- userData
- Opaque data that will be passed back to the event handler when an event is raised.
- compressionMethod
- The CompressionMethod that will be used to compress the file.
- compressionLevel
- The CompressionLevel that will be used when compressing the file.
- encryptionPassword
- The password that will be used to encrypt the file.
- encryptionMethod
- The EncryptionMethod that will be used to encrypt the file.
- encryptionStrength
- The encryption strength that will be used to encrypt the file.