PersonalizationDictionary.GetEnumerator 方法

定义

返回一个枚举数,该枚举数可用于循环访问个性化设置字典中的各项。Returns an enumerator that can be used to iterate through the entries in the personalization dictionary.

public:
 virtual System::Collections::IDictionaryEnumerator ^ GetEnumerator();
public virtual System.Collections.IDictionaryEnumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.IDictionaryEnumerator
override this.GetEnumerator : unit -> System.Collections.IDictionaryEnumerator
Public Overridable Function GetEnumerator () As IDictionaryEnumerator

返回

IDictionaryEnumerator

用于个性化设置字典的 IDictionaryEnumeratorAn IDictionaryEnumerator for the personalization dictionary.

实现

注解

枚举器可用于读取集合中的数据,但不能用于修改基础集合。Enumerators can be used to read the data in a collection, but cannot be used to modify the underlying collection. 有关枚举器的详细信息,请参阅 IEnumerator 接口。For more information on enumerators, see the IEnumerator interface.

适用于

另请参阅