IsolatedStorageFile.DeleteDirectory Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Deletes a directory in the isolated storage scope.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- dir
- Type: System.String
The relative path of the directory to delete within the isolated storage scope.
| Exception | Condition |
|---|---|
| IsolatedStorageException | The store has been removed. -or- Unable to delete directory. -or- Isolated storage is disabled. |
| ArgumentException | dir is badly formed. |
| ArgumentNullException | The directory path is Nothing. |
| ObjectDisposedException | The store has been disposed. |
Show: