Copies the directory. If the destPathString is already taken, creates a unique file name.

Namespace: MonoSoftware.MonoX.Utilities
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static string FreeDirectoryCopy(
	string srcPathString,
	string destPathString
)
Visual Basic
Public Shared Function FreeDirectoryCopy ( 
	srcPathString As String,
	destPathString As String
) As String
Visual C++
public:
static String^ FreeDirectoryCopy(
	String^ srcPathString, 
	String^ destPathString
)
F#
static member FreeDirectoryCopy : 
        srcPathString : string * 
        destPathString : string -> string 

Parameters

srcPathString
Type: System..::..String
Path to source directory
destPathString
Type: System..::..String
Path to destination directory

Return Value

Type: String
The full name of the copied directory

See Also