This documentation is archived and is not being maintained.

IsolatedStorageFile.GetEnumerator Method

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

[Visual Basic]
Public Shared Function GetEnumerator( _
   ByVal scope As IsolatedStorageScope _
) As IEnumerator
public static IEnumerator GetEnumerator(
 IsolatedStorageScope scope
public: static IEnumerator* GetEnumerator(
 IsolatedStorageScope scope
public static function GetEnumerator(
   scope : IsolatedStorageScope
) : IEnumerator;


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

Return Value

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


The Enumerating Stores example demonstrates the use of the GetEnumerator method.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

IsolatedStorageFile Class | IsolatedStorageFile Members | System.IO.IsolatedStorage Namespace