IsolatedStorageFile.GetEnumerator(IsolatedStorageScope) Metod

Definition

Hämtar uppräknaren IsolatedStorageFile för butikerna inom ett isolerat lagringsomfång.

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

Parametrar

scope
IsolatedStorageScope

Representerar för IsolatedStorageScope vilken isolerade butiker ska returneras. User och User|Roaming är de enda IsolatedStorageScope kombinationer som stöds.

Returer

Uppräknare för IsolatedStorageFile butikerna inom det angivna isolerade lagringsomfånget.

Kommentarer

Exemplet How to: Enumerate Stores for Isolated Storage visar hur metoden används GetEnumerator .

Gäller för

Se även