Copies a directory.

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

Syntax

C#
public override string CopyDirectory(
	string path,
	string newPath
)
Visual Basic
Public Overrides Function CopyDirectory ( 
	path As String,
	newPath As String
) As String
Visual C++
public:
virtual String^ CopyDirectory(
	String^ path, 
	String^ newPath
) override
F#
abstract CopyDirectory : 
        path : string * 
        newPath : string -> string 
override CopyDirectory : 
        path : string * 
        newPath : string -> string 

Parameters

path
Type: System..::..String
Source path.
newPath
Type: System..::..String
Distination path.

Return Value

Type: String
Empty string if operation was successful; error message if an error occured.

Implements

IFileContentProvider..::..CopyDirectory(String, String)

See Also