ResourceDictionary.GetEnumerator 方法

定义

返回一个可用于循环访问 IDictionaryEnumeratorResourceDictionaryReturns an IDictionaryEnumerator that can be used to iterate through the ResourceDictionary.

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

返回

ResourceDictionary 的专用枚举数。A specialized enumerator for the ResourceDictionary.

实现

注解

迭代器仅用于基本字典。The iterator is for the base dictionary only.

适用于