IsolatedStorageFile::GetEnumerator Method (IsolatedStorageScope)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the enumerator for the IsolatedStorageFile stores within an isolated storage scope.

Namespace:   System.IO.IsolatedStorage
Assembly:  mscorlib (in mscorlib.dll)

public:
static IEnumerator^ GetEnumerator(
	IsolatedStorageScope scope
)

Parameters

scope
Type: System.IO.IsolatedStorage::IsolatedStorageScope

Represents the IsolatedStorageScope for which to return isolated stores. User and User|Roaming are the only IsolatedStorageScope combinations supported.

Return Value

Type: System.Collections::IEnumerator^

Enumerator for the IsolatedStorageFile stores within the specified isolated storage scope.

The How to: Enumerate Stores for Isolated Storage example demonstrates the use of the GetEnumerator method.

IsolatedStorageFilePermission

for using isolated storage. Associated enumeration: AdministerIsolatedStorageByUser

ReflectionPermission

when invoked late-bound through mechanisms such as Type::InvokeMember. Associated enumeration: ReflectionPermissionFlag::MemberAccess

.NET Framework
Available since 1.1
Return to top
Show: