Share via


ClosureContextHelper.GetContextData Method (ElementGroup, Object)

Get the ContextData for a single key

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Shared Function GetContextData ( _
    elementGroup As ElementGroup, _
    key As Object _
) As Object
public static Object GetContextData(
    ElementGroup elementGroup,
    Object key
)
public:
static Object^ GetContextData(
    ElementGroup^ elementGroup, 
    Object^ key
)
static member GetContextData : 
        elementGroup:ElementGroup * 
        key:Object -> Object
public static function GetContextData(
    elementGroup : ElementGroup, 
    key : Object
) : Object

Parameters

  • key
    Type: Object

    the key to search for

Return Value

Type: Object
object found or null

.NET Framework Security

See Also

Reference

ClosureContextHelper Class

GetContextData Overload

Microsoft.VisualStudio.Modeling Namespace