Metodo UtilityZip(String, String, Boolean, Boolean, ActionInt32, ListString, Boolean)
|
Permette di zippare un insieme di file.
Namespace: DedNet.CoreAssembly: DedNet (in DedNet.dll) Versione: 28.0.0
Sintassipublic static void Zip(
string destFile,
string[] files,
bool showProgressBar = true,
bool structureFolder = true,
Action<int> stepperMethod = null,
List<string> groupAttrValueList = null,
bool groupByExt = false
)
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,
Optional groupAttrValueList As List(Of String) = Nothing,
Optional groupByExt As Boolean = false
)
public:
static void Zip(
String^ destFile,
array<String^>^ files,
bool showProgressBar = true,
bool structureFolder = true,
Action<int>^ stepperMethod = nullptr,
List<String^>^ groupAttrValueList = nullptr,
bool groupByExt = false
)
static member Zip :
destFile : string *
files : string[] *
?showProgressBar : bool *
?structureFolder : bool *
?stepperMethod : Action<int> *
?groupAttrValueList : List<string> *
?groupByExt : bool
(* Defaults:
let _showProgressBar = defaultArg showProgressBar true
let _structureFolder = defaultArg structureFolder true
let _stepperMethod = defaultArg stepperMethod null
let _groupAttrValueList = defaultArg groupAttrValueList null
let _groupByExt = defaultArg groupByExt false
*)
-> unit
Parametri
- destFile String
- File .zip di destinazione
- files String
- Lista di file da archiviare
- showProgressBar Boolean (Optional)
- Mostra o meno la progressbar
- structureFolder Boolean (Optional)
- Riporta o meno la struttura delle cartelle
- stepperMethod ActionInt32 (Optional)
- Delegate per la gestione dell'avanzamento
- groupAttrValueList ListString (Optional)
-
- groupByExt Boolean (Optional)
-
Vedi anche