IsolatedStorageFile.DeleteDirectory Method
Silverlight
Deletes a directory in the isolated storage scope.
Namespace: System.IO.IsolatedStorage
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 null. |
| ObjectDisposedException | The store has been disposed. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.