Modifier

Partager via


Directory.Delete Method

Definition

Overloads

Delete(String)
Delete(String, Boolean)

Delete(String)

public:
 static void Delete(System::String ^ path);
public static void Delete (string path);
static member Delete : string -> unit
Public Shared Sub Delete (path As String)

Parameters

path
String

Applies to

Delete(String, Boolean)

public:
 static void Delete(System::String ^ path, bool recursive);
public static void Delete (string path, bool recursive);
static member Delete : string * bool -> unit
Public Shared Sub Delete (path As String, recursive As Boolean)

Parameters

path
String
recursive
Boolean

Applies to