ClosureContextHelper.GetClosureContext Method

Definition

Overloads

GetClosureContext(ElementGroup)

used to get the closure context from the element walker

GetClosureContext(ElementWalker)

used to get the closure context from the element walker

GetClosureContext(ElementGroup)

used to get the closure context from the element walker

public:
 static System::Collections::Generic::Dictionary<System::Object ^, System::Object ^> ^ GetClosureContext(Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public static System.Collections.Generic.Dictionary<object,object> GetClosureContext (Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
static member GetClosureContext : Microsoft.VisualStudio.Modeling.ElementGroup -> System.Collections.Generic.Dictionary<obj, obj>
Public Shared Function GetClosureContext (elementGroup As ElementGroup) As Dictionary(Of Object, Object)

Parameters

elementGroup
ElementGroup

The element group that holds the closure context

Returns

IDictionary

Applies to

GetClosureContext(ElementWalker)

used to get the closure context from the element walker

public:
 static System::Collections::Generic::Dictionary<System::Object ^, System::Object ^> ^ GetClosureContext(Microsoft::VisualStudio::Modeling::ElementWalker ^ walker);
public static System.Collections.Generic.Dictionary<object,object> GetClosureContext (Microsoft.VisualStudio.Modeling.ElementWalker walker);
static member GetClosureContext : Microsoft.VisualStudio.Modeling.ElementWalker -> System.Collections.Generic.Dictionary<obj, obj>
Public Shared Function GetClosureContext (walker As ElementWalker) As Dictionary(Of Object, Object)

Parameters

walker
ElementWalker

the walker that holds the closure context

Returns

IDictionary

Applies to