| DirectoryClone Method |
Clones a directory to a new location. Does not copy any files or folders beneath it.
Namespace:
Galactic.FileSystem
Assembly:
Galactic.FileSystem (in Galactic.FileSystem.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public static bool Clone(
string path,
string newPath
)
Public Shared Function Clone (
path As String,
newPath As String
) As Boolean
public:
static bool Clone(
String^ path,
String^ newPath
)
static member Clone :
path : string *
newPath : string -> bool
Parameters
- path
- Type: SystemString
The path of the directory to clone. - newPath
- Type: SystemString
The destination path to clone the directory to.
Return Value
Type:
BooleanTrue if the directory was cloned. False otherwise.
See Also