Enumerates the levels of isolated storage scope that are supported by IsolatedStorage.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
|No isolated storage usage.|
|Isolated storage scoped by user identity.|
|Isolated storage scoped to the application domain identity.|
|Isolated storage scoped to the identity of the assembly.|
|The isolated store can be placed in a location on the file system that might roam (if roaming user data is enabled on the underlying operating system).|
|Isolated storage scoped to the machine.|
|Isolated storage scoped to the application.|
Use to specify a degree of scope for an isolated store. You can specify combinations of these levels that are supported by IsolatedStorage.
The following code example demonstrates how the enumeration is used in the GetStore methods.
// Retrieve an IsolatedStorageFile for the current Domain and Assembly. IsolatedStorageFile isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.User | IsolatedStorageScope.Assembly | IsolatedStorageScope.Domain, null, null); IsolatedStorageFileStream isoStream = new IsolatedStorageFileStream(this.userName, FileMode.Open, FileAccess.Read, FileShare.Read);
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.