BamlLocalizationDictionaryEnumerator 类

定义

定义一个专用的枚举器,它可以枚举 BamlLocalizationDictionary 对象的内容。Defines a specialized enumerator that can enumerate over the content of a BamlLocalizationDictionary object.

public ref class BamlLocalizationDictionaryEnumerator sealed : System::Collections::IDictionaryEnumerator
public sealed class BamlLocalizationDictionaryEnumerator : System.Collections.IDictionaryEnumerator
type BamlLocalizationDictionaryEnumerator = class
    interface IDictionaryEnumerator
    interface IEnumerator
Public NotInheritable Class BamlLocalizationDictionaryEnumerator
Implements IDictionaryEnumerator
继承
BamlLocalizationDictionaryEnumerator
实现

属性

Current

获取集合中的当前对象。Gets the current object in the collection.

Entry

获取当前位置的 DictionaryEntry 对象。Gets the current position's DictionaryEntry object.

Key

获取当前条目的键。Gets the key of the current entry.

Value

获取当前条目的值。Gets the value of the current entry.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
MoveNext()

移至集合中的下一项。Moves to the next item in the collection.

Reset()

将枚举数返回至其初始位置,即位于集合中第一个对象之前。Returns the enumerator to its initial position, which is before the first object in the collection.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

显式界面实现

IDictionaryEnumerator.Key

有关此成员的说明,请参见 KeyFor a description of this member, see Key.

IDictionaryEnumerator.Value

有关此成员的说明,请参见 ValueFor a description of this member, see Value.

IEnumerator.Current

有关此成员的说明,请参见 CurrentFor a description of this member, see Current.

适用于

另请参阅