OrderedDictionary<TKey,TValue>.Enumerator.IDictionaryEnumerator.Key 属性

定义

获取当前字典条目的键。

property System::Object ^ System::Collections::IDictionaryEnumerator::Key { System::Object ^ get(); };
object System.Collections.IDictionaryEnumerator.Key { get; }
member this.System.Collections.IDictionaryEnumerator.Key : obj
 ReadOnly Property Key As Object Implements IDictionaryEnumerator.Key

属性值

枚举的当前元素的键。

实现

Key

注解

此成员是显式接口成员实现。 仅当 <xref:System.Collections.Generic.OrderedDictionary'2.Enumerator> 实例转换为 <xref:System.Collections.IDictionaryEnumerator> 接口时,才能使用它。

适用于