Metodo UtilityZip (String, String, Boolean, Boolean, ActionInt32)
|
Permette di zippare un insieme di file.
Namespace:
DedNet.Core
Assembly:
DedNet (in DedNet.dll) Versione: 23.3.0.0 (23.3.0.0)
Sintassi public static void Zip(
string destFile,
string[] files,
bool showProgressBar = true,
bool structureFolder = true,
Action<int> stepperMethod = null
)
Public Shared Sub Zip (
destFile As String,
files As String(),
Optional showProgressBar As Boolean = true,
Optional structureFolder As Boolean = true,
Optional stepperMethod As Action(Of Integer) = Nothing
)
public:
static void Zip(
String^ destFile,
array<String^>^ files,
bool showProgressBar = true,
bool structureFolder = true,
Action<int>^ stepperMethod = nullptr
)
static member Zip :
destFile : string *
files : string[] *
?showProgressBar : bool *
?structureFolder : bool *
?stepperMethod : Action<int>
(* Defaults:
let _showProgressBar = defaultArg showProgressBar true
let _structureFolder = defaultArg structureFolder true
let _stepperMethod = defaultArg stepperMethod null
*)
-> unit
Parametri
- destFile
- Tipo: SystemString
File .zip di destinazione - files
- Tipo: SystemString
Lista di file da archiviare - showProgressBar (Optional)
- Tipo: SystemBoolean
Mostra o meno la progressbar - structureFolder (Optional)
- Tipo: SystemBoolean
Riporta o meno la struttura delle cartelle - stepperMethod (Optional)
- Tipo: SystemActionInt32
Delegate per la gestione dell'avanzamento
Vedi anche