語言

IsolatedStorageFile.GetEnumerator(IsolatedStorageScope) 方法

定義

取得隔離儲存範圍內儲存 IsolatedStorageFile 的列舉器。

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

參數

scope
IsolatedStorageScope

代表 IsolatedStorageScope 退貨的目的。 User 和 User|Roaming 是唯一 IsolatedStorageScope 支援的組合。

傳回

為指定隔離儲存範圍內的儲存器 IsolatedStorageFile 數量。

備註

「如何列舉隔離儲存庫」範例展示了此GetEnumerator方法的使用。

適用於

另請參閱