语言

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。

适用于

另请参阅