Bewerken

Share via


IsolatedStorageFile.GetEnumerator(IsolatedStorageScope) Method

Definition

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

public:
 static System::Collections::IEnumerator ^ GetEnumerator(System::IO::IsolatedStorage::IsolatedStorageScope scope);
public static System.Collections.IEnumerator GetEnumerator (System.IO.IsolatedStorage.IsolatedStorageScope scope);
static member GetEnumerator : System.IO.IsolatedStorage.IsolatedStorageScope -> System.Collections.IEnumerator
Public Shared Function GetEnumerator (scope As IsolatedStorageScope) As IEnumerator

Parameters

scope
IsolatedStorageScope

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

Returns

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

Remarks

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

Applies to

See also