System.IO.IsolatedStorage.IsolatedStorageFile.Remove Method

Removes the specified isolated storage scope for all identities.

Syntax

public static void Remove (IsolatedStorageScope scope)

Parameters

scope
A bitwise combination of the System.IO.IsolatedStorage.IsolatedStorageScope values.

Remarks

Note:

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 System.IO.IsolatedStorage.IsolatedStorageException.

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0