IsolatedStorageFile.GetEnumerator(IsolatedStorageScope) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得隔離儲存範圍內儲存 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方法的使用。