GetEnumerator Method

Enumerates the context items in the editing context. This enumeration includes prior layers unless the enumerator hits an isolated layer. Enumeration is typically not useful in most scenarios but it is provided so that developers can search in the context and learn what is placed in it.

Namespace:  Microsoft.Data.Tools.Design.Core.Context
Assembly:  Microsoft.Data.Tools.Design.Core (in Microsoft.Data.Tools.Design.Core.dll)


Public MustOverride Function GetEnumerator As IEnumerator(Of ContextItem)
Dim instance As ContextItemCollection
Dim returnValue As IEnumerator(Of ContextItem)

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

Return Value

Type: System.Collections.Generic..::..IEnumerator< (Of < ( <'ContextItem> ) > ) >
An enumeration of context items.


IEnumerable< (Of < ( <'T> ) > ) >..::..GetEnumerator() () () ()

See Also


ContextItemCollection Class

Microsoft.Data.Tools.Design.Core.Context Namespace