ArchiverAdd(String, String, String, CompressionMethod, CompressionLevel) Method
Appends the source file or directory into the specified compressed archive, with a password, using the specified compression parameters.
Namespace: DevCase.ThirdParty.SevenZipSharpAssembly: DevCase.net48.ThirdParty.SevenZipsharp (in DevCase.net48.ThirdParty.SevenZipsharp.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual string Add(
string sourceFileOrDir,
string outputFilepath,
string password,
CompressionMethod compressionMethod,
CompressionLevel compressionLevel
)
Public Overridable Function Add (
sourceFileOrDir As String,
outputFilepath As String,
password As String,
compressionMethod As CompressionMethod,
compressionLevel As CompressionLevel
) As String
Dim instance As Archiver
Dim sourceFileOrDir As String
Dim outputFilepath As String
Dim password As String
Dim compressionMethod As CompressionMethod
Dim compressionLevel As CompressionLevel
Dim returnValue As String
returnValue = instance.Add(sourceFileOrDir,
outputFilepath, password, compressionMethod,
compressionLevel)
public:
virtual String^ Add(
String^ sourceFileOrDir,
String^ outputFilepath,
String^ password,
CompressionMethod compressionMethod,
CompressionLevel compressionLevel
)
abstract Add :
sourceFileOrDir : string *
outputFilepath : string *
password : string *
compressionMethod : CompressionMethod *
compressionLevel : CompressionLevel -> string
override Add :
sourceFileOrDir : string *
outputFilepath : string *
password : string *
compressionMethod : CompressionMethod *
compressionLevel : CompressionLevel -> string
No code example is currently available or this language may not be supported.
- sourceFileOrDir String
-
The source file or diretory to append.
- outputFilepath String
-
The path of the output file to create.
- password String
-
The password.
- compressionMethod CompressionMethod
-
The compression method.
- compressionLevel CompressionLevel
-
The compression level.
String
The full path of the resulting compressed archive.
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
Squid-Box.SevenZipSharp
FileNotFoundException
|
Source file or directory not found.
|