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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design Namespace
SubscribeContextCallback<ContextItemType>