Metodo UtilityZip(String, String, Boolean, ActionInt32)
|
Permette di zippare una cartella. Crea un archivio del contenuto della cartella.
Namespace: DedNet.CoreAssembly: DedNet (in DedNet.dll) Versione: 25.3.0.0 (25.3.0.0)
Sintassi public static void Zip(
string destFile,
string sourcePath,
bool showProgressBar = true,
Action<int> stepperMethod = null
)
Public Shared Sub Zip (
destFile As String,
sourcePath As String,
Optional showProgressBar As Boolean = true,
Optional stepperMethod As Action(Of Integer) = Nothing
)
public:
static void Zip(
String^ destFile,
String^ sourcePath,
bool showProgressBar = true,
Action<int>^ stepperMethod = nullptr
)
static member Zip :
destFile : string *
sourcePath : string *
?showProgressBar : bool *
?stepperMethod : Action<int>
(* Defaults:
let _showProgressBar = defaultArg showProgressBar true
let _stepperMethod = defaultArg stepperMethod null
*)
-> unit
Parametri
- destFile String
- File .zip di destinazione
- sourcePath String
- Cartella sorgente
- showProgressBar Boolean (Optional)
- Controlla la visibilità della progressione
- stepperMethod ActionInt32 (Optional)
- Delegate chiamato in fase di iterazione per gestione progressione esterna
Vedi anche