Directory.Delete Method

Definition

Overloads

Delete(String)

public static void Delete (string path);

Parameters

path
String

Applies to

.NET Framework 4.8 (package-provided) 및 .NET Framework 4.7.2 (package-provided)
제품 버전
.NET Framework 4.7.2 (package-provided), 4.8 (package-provided)

Delete(String, Boolean)

public static void Delete (string path, bool recursive);

Parameters

path
String
recursive
Boolean

Applies to

.NET Framework 4.8 (package-provided) 및 .NET Framework 4.7.2 (package-provided)
제품 버전
.NET Framework 4.7.2 (package-provided), 4.8 (package-provided)