Creates a new directory.

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

Syntax

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

Parameters

path
Type: System..::..String
Directory path.
name
Type: System..::..String
Directory name.

Return Value

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

See Also