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。