Share via


ContextItemManager.GetEnumerator Method

When overridden in a derived class, gets an enumeration of context items in the editing context.

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

Syntax

'Declaration
Public MustOverride Function GetEnumerator As IEnumerator(Of ContextItem)
'Usage
Dim instance As ContextItemManager 
Dim returnValue As IEnumerator(Of ContextItem)

returnValue = instance.GetEnumerator()
public abstract IEnumerator<ContextItem> GetEnumerator()
public:
virtual IEnumerator<ContextItem^>^ GetEnumerator() abstract
public abstract function GetEnumerator() : IEnumerator<ContextItem>

Return Value

Type: System.Collections.Generic.IEnumerator<ContextItem>
An enumeration of context items.

Implements

IEnumerable<T>.GetEnumerator()

.NET Framework Security

See Also

Reference

ContextItemManager Class

ContextItemManager Members

Microsoft.Windows.Design Namespace

ContextItem

SubscribeContextCallback<ContextItemType>

ServiceManager

FeatureManager

Other Resources

Editing Context Architecture

Understanding WPF Designer Extensibility