DirectoryInfo.Delete Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
override void Delete();
public override void Delete ();
override this.Delete : unit -> unit
Public Overrides Sub Delete ()
Applies to
.NET Framework 4.8 (package-provided) and .NET Framework 4.7.2 (package-provided)
Product | Versions |
---|---|
.NET Framework | 4.7.2 (package-provided), 4.8 (package-provided) |
public:
void Delete(bool recursive);
public void Delete (bool recursive);
override this.Delete : bool -> unit
Public Sub Delete (recursive As Boolean)
Parameters
- recursive
- Boolean
Applies to
.NET Framework 4.8 (package-provided) and .NET Framework 4.7.2 (package-provided)
Product | Versions |
---|---|
.NET Framework | 4.7.2 (package-provided), 4.8 (package-provided) |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: