IsolatedStorageFile.GetEnumerator Method (IsolatedStorageScope)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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


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.


for using isolated storage. Associated enumeration: AdministerIsolatedStorageByUser


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

.NET Framework
Available since 1.1
Return to top