Delete Method

DirectoryInfo.Delete Method

 

Deletes a DirectoryInfo and its contents from a path.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodDelete()

Deletes this DirectoryInfo if it is empty.(Overrides FileSystemInfo.Delete().)

System_CAPS_pubmethodDelete(Boolean)

Deletes this instance of a DirectoryInfo, specifying whether to delete subdirectories and files.

Return to top
Show:
© 2016 Microsoft