'Declaration Public Overloads Sub Delete()
'Usage Dim instance As FileSystemItem instance.Delete()
public void Delete()
'Declaration Public Overloads Sub Delete()
'Usage Dim instance As FileSystemItem instance.Delete()
public void Delete()
If this FileSystemItem object represents a file, the file is deleted. If it represents a folder, the folder and all it's content is deleted.
If the physical item does not exist, an exception is thrown.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2