Share via


ModelItemCollection.GetEnumerator Method

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

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 ModelItem)
public abstract IEnumerator<ModelItem> GetEnumerator()
public:
virtual IEnumerator<ModelItem^>^ GetEnumerator() abstract
abstract GetEnumerator : unit -> IEnumerator<ModelItem> 
public abstract function GetEnumerator() : IEnumerator<ModelItem>

Return Value

Type: System.Collections.Generic.IEnumerator<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

ModelItemCollection Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture