Partilhar via


ClosureContextHelper.GetContextData Method

Definition

Overloads

GetContextData(Object)

Get the ContextData for a single key

GetContextData(ElementGroup, Object)

Get the ContextData for a single key

GetContextData(ElementWalker, Object)

Get the ContextData for a single key

GetContextData(Object)

Get the ContextData for a single key

public:
 System::Object ^ GetContextData(System::Object ^ key);
public object GetContextData (object key);
member this.GetContextData : obj -> obj
Public Function GetContextData (key As Object) As Object

Parameters

key
Object

the key to search for

Returns

object found or null

Applies to

GetContextData(ElementGroup, Object)

Get the ContextData for a single key

public:
 static System::Object ^ GetContextData(Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup, System::Object ^ key);
public static object GetContextData (Microsoft.VisualStudio.Modeling.ElementGroup elementGroup, object key);
static member GetContextData : Microsoft.VisualStudio.Modeling.ElementGroup * obj -> obj
Public Shared Function GetContextData (elementGroup As ElementGroup, key As Object) As Object

Parameters

elementGroup
ElementGroup

the elementGroup that will hold the context data

key
Object

the key to search for

Returns

object found or null

Applies to

GetContextData(ElementWalker, Object)

Get the ContextData for a single key

public:
 static System::Object ^ GetContextData(Microsoft::VisualStudio::Modeling::ElementWalker ^ walker, System::Object ^ key);
public static object GetContextData (Microsoft.VisualStudio.Modeling.ElementWalker walker, object key);
static member GetContextData : Microsoft.VisualStudio.Modeling.ElementWalker * obj -> obj
Public Shared Function GetContextData (walker As ElementWalker, key As Object) As Object

Parameters

walker
ElementWalker

the walker that holds the context data

key
Object

the key to search for

Returns

object found or null

Applies to