IsolatedStorageFile::Remove Method (IsolatedStorageScope)
Removes the specified isolated storage scope for all identities.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- scope
-
Type:
System.IO.IsolatedStorage::IsolatedStorageScope
A bitwise combination of the IsolatedStorageScope values.
| Exception | Condition |
|---|---|
| IsolatedStorageException | The isolated store cannot be removed. |
Caution |
|---|
This method irrevocably removes the entire scope and all contained directories and files. |
If any of the directories or files in the store are in use, the removal attempt for the store fails and the store is marked for removal. Any subsequent attempts to modify the store throw an IsolatedStorageException.
for using isolated storage. Associated enumeration: AdministerIsolatedStorageByUser
when invoked late-bound through mechanisms such as Type::InvokeMember. Associated enumeration: ReflectionPermissionFlag::MemberAccess
Available since 1.1
