 | FileCopyRecursively Method |
Copies ALL files recursively.
Namespace:
Koden.Utils.IO
Assembly:
Koden.Utils.IO (in Koden.Utils.IO.dll) Version: 1.0.6453.26060
Syntaxpublic static FWRetVal<string> CopyRecursively(
string sourceDir,
string targetDir,
FileFilterType filterType = FileFilterType.None,
string filter = null,
bool overwrite = false,
string renameMask = "{0}.{1}"
)Public Shared Function CopyRecursively (
sourceDir As String,
targetDir As String,
Optional filterType As FileFilterType = FileFilterType.None,
Optional filter As String = Nothing,
Optional overwrite As Boolean = false,
Optional renameMask As String = "{0}.{1}"
) As FWRetVal(Of String)public:
static FWRetVal<String^>^ CopyRecursively(
String^ sourceDir,
String^ targetDir,
FileFilterType filterType = FileFilterType::None,
String^ filter = nullptr,
bool overwrite = false,
String^ renameMask = L"{0}.{1}"
)static member CopyRecursively :
sourceDir : string *
targetDir : string *
?filterType : FileFilterType *
?filter : string *
?overwrite : bool *
?renameMask : string
(* Defaults:
let _filterType = defaultArg filterType FileFilterType.None
let _filter = defaultArg filter null
let _overwrite = defaultArg overwrite false
let _renameMask = defaultArg renameMask "{0}.{1}"
*)
-> FWRetVal<string>
Parameters
- sourceDir
- Type: SystemString
The source directory. - targetDir
- Type: SystemString
The target directory. - filterType (Optional)
- Type: Koden.Utils.IOFileFilterType
Type of the filter. - filter (Optional)
- Type: SystemString
The filter. - overwrite (Optional)
- Type: SystemBoolean
if set to true [overwrite]. - renameMask (Optional)
- Type: SystemString
The rename mask in the form of "{0}.{1}".
Return Value
Type:
FWRetValString[Missing <returns> documentation for "M:Koden.Utils.IO.File.CopyRecursively(System.String,System.String,Koden.Utils.IO.FileFilterType,System.String,System.Boolean,System.String)"]
See Also