'Declaration
<ExtensionAttribute()> Public Overloads Shared Sub DeleteSubdirectory( _ ByVal writableDirectoryContents As IWritableDirectoryContents, _ ByVal path As String, _ ByVal recursive As Boolean _ )
'Usage
Dim writableDirectoryContents As IWritableDirectoryContents Dim path As String Dim recursive As Boolean IWritableDirectoryContentsExtension.DeleteSubdirectory(writableDirectoryContents, path, recursive)
[Extension()] public static void DeleteSubdirectory( IWritableDirectoryContents writableDirectoryContents, string path, bool recursive )
[Extension()] public: static void DeleteSubdirectory( IWritableDirectoryContents^ writableDirectoryContents, String^ path, bool recursive )
Parameters
- writableDirectoryContents
- The writable directory contents object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - path
- Relative path that identifies the directory.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - recursive
true
to delete the specified subdirectory, its subdirectories, and all files;false
to delete just the specified subdirectory directory.