Deletes a file.

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

Syntax

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

Parameters

path
Type: System..::..String
Path of a file to delete.

Return Value

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

See Also