Прочетете на английски Редактиране

Споделяне чрез


OrderedDictionary<TKey,TValue>.Enumerator.IDictionaryEnumerator.Entry Property

Definition

Gets both the key and the value of the current dictionary entry.

C#
System.Collections.DictionaryEntry System.Collections.IDictionaryEnumerator.Entry { get; }

Property Value

A DictionaryEntry containing both the key and the value of the current dictionary entry.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the <xref:System.Collections.Generic.OrderedDictionary`2.Enumerator> instance is cast to an <xref:System.Collections.IDictionaryEnumerator> interface.

Applies to

Продукт Версии
.NET 9, 10