OrderedDictionary<TKey,TValue>.IDictionary.Keys 属性

定义

获取包含 IDictionary 对象的键的 ICollection 对象。

property System::Collections::ICollection ^ System::Collections::IDictionary::Keys { System::Collections::ICollection ^ get(); };
System.Collections.ICollection System.Collections.IDictionary.Keys { get; }
member this.System.Collections.IDictionary.Keys : System.Collections.ICollection
 ReadOnly Property Keys As ICollection Implements IDictionary.Keys

属性值

包含 IDictionary 对象的键的 ICollection 对象。

实现

注解

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

适用于