Share via


ModelItemDictionary.GetEnumerator Method

When overridden in a derived class, returns an enumerator for the items in the dictionary.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Function GetEnumerator As IEnumerator(Of KeyValuePair(Of ModelItem, ModelItem))
public abstract IEnumerator<KeyValuePair<ModelItem, ModelItem>> GetEnumerator()
public:
virtual IEnumerator<KeyValuePair<ModelItem^, ModelItem^>>^ GetEnumerator() abstract
abstract GetEnumerator : unit -> IEnumerator<KeyValuePair<ModelItem, ModelItem>> 
public abstract function GetEnumerator() : IEnumerator<KeyValuePair<ModelItem, ModelItem>>

Return Value

Type: System.Collections.Generic.IEnumerator<KeyValuePair<ModelItem, ModelItem>>
An IEnumerator that can act as an enumerator for the items in this dictionary.

Implements

IEnumerable<T>.GetEnumerator()

.NET Framework Security

See Also

Reference

ModelItemDictionary Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture