共用方式為


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> 接口時,才能使用它。

適用於