FileSplitterSplit(Int32, String, String, Boolean, Boolean) Method
Splits a file into the specified amount of chunks.
Namespace: DevCase.Core.IO.FileSystemAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual void Split(
int chunkCount,
string chunkName = "",
string chunkExt = "",
bool overwrite = false,
bool deleteAfterSplit = false
)
Public Overridable Sub Split (
chunkCount As Integer,
Optional chunkName As String = "",
Optional chunkExt As String = "",
Optional overwrite As Boolean = false,
Optional deleteAfterSplit As Boolean = false
)
Dim instance As FileSplitter
Dim chunkCount As Integer
Dim chunkName As String
Dim chunkExt As String
Dim overwrite As Boolean
Dim deleteAfterSplit As Boolean
instance.Split(chunkCount, chunkName,
chunkExt, overwrite, deleteAfterSplit)
public:
virtual void Split(
int chunkCount,
String^ chunkName = L"",
String^ chunkExt = L"",
bool overwrite = false,
bool deleteAfterSplit = false
)
abstract Split :
chunkCount : int *
?chunkName : string *
?chunkExt : string *
?overwrite : bool *
?deleteAfterSplit : bool
(* Defaults:
let _chunkName = defaultArg chunkName ""
let _chunkExt = defaultArg chunkExt ""
let _overwrite = defaultArg overwrite false
let _deleteAfterSplit = defaultArg deleteAfterSplit false
*)
-> unit
override Split :
chunkCount : int *
?chunkName : string *
?chunkExt : string *
?overwrite : bool *
?deleteAfterSplit : bool
(* Defaults:
let _chunkName = defaultArg chunkName ""
let _chunkExt = defaultArg chunkExt ""
let _overwrite = defaultArg overwrite false
let _deleteAfterSplit = defaultArg deleteAfterSplit false
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- chunkCount Int32
-
The amount of chunks to generate.
- chunkName String (Optional)
-
The name-format for the generated chunks.
- chunkExt String (Optional)
-
The file-extension of the generated chunks.
- overwrite Boolean (Optional)
-
If set to , any existing file will be overwritten if needed to create a chunk,
otherwise, an exception will be thrown.
- deleteAfterSplit Boolean (Optional)
-
If set to , the source file will be deleted after a successful split operation.