IsolatedStorageScope Enumeration
.NET Framework 2.0
Enumerates the levels of isolated storage scope that are supported by IsolatedStorage.
Assembly: mscorlib (in mscorlib.dll)
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.IO.IsolatedStorageAssembly: mscorlib (in mscorlib.dll)
'Declaration <SerializableAttribute> _ <ComVisibleAttribute(True)> _ <FlagsAttribute> _ Public Enumeration IsolatedStorageScope 'Usage Dim instance As IsolatedStorageScope
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ /** @attribute FlagsAttribute() */ public enum IsolatedStorageScope
SerializableAttribute ComVisibleAttribute(true) FlagsAttribute public enum IsolatedStorageScope
| Member name | Description | |
|---|---|---|
| Application | Isolated storage scoped to the application. | |
| Assembly | Isolated storage scoped to the identity of the assembly. | |
| Domain | Isolated storage scoped to the application domain identity. | |
| Machine | Isolated storage scoped to the machine. | |
| None | No isolated storage usage. | |
| Roaming | 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). | |
| User | Isolated storage scoped by user identity. |
The following code example demonstrates how the IsolatedStorageScope enumeration is used in the GetStore methods.
' Retrieve an IsolatedStorageFile for the current Domain and Assembly. Dim isoFile As IsolatedStorageFile = _ IsolatedStorageFile.GetStore(IsolatedStorageScope.User _ Or IsolatedStorageScope.Assembly _ Or IsolatedStorageScope.Domain, Nothing, Nothing) Dim isoStream As New IsolatedStorageFileStream(Me.userName, FileMode.Open, _ FileAccess.Read, FileShare.Read)
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: