DirectoryInfo: Delete

Delete

Deletes this directory if it is empty, or all of its contents and itself if Recursive is set to True.



 Public Sub Delete(
	  Optional ByVal Recursive As Boolean )

Parameters

Recursive
[ByVal] Optional. Boolean. Indicates if all entries in the directory should be deleted.

See Also

Project CorLib Overview

Class DirectoryInfo Overview