Partager via


ClosureContextHelper.GetContextData Method (ElementGroup, Object)

Get the ContextData for a single key

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

Syntax

'Déclaration
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

Return Value

Type: System.Object
object found or null

.NET Framework Security

See Also

Reference

ClosureContextHelper Class

GetContextData Overload

Microsoft.VisualStudio.Modeling Namespace