System.IO.IsolatedStorage.IsolatedStorageFile.Remove Method

Removes the isolated storage scope and all its contents.

Syntax

public override void Remove ()

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