Share via


ClosureContextHelper.GetContextData Method (ElementWalker, 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 ( _
    walker As ElementWalker, _
    key As Object _
) As Object
public static Object GetContextData(
    ElementWalker walker,
    Object key
)
public:
static Object^ GetContextData(
    ElementWalker^ walker, 
    Object^ key
)
static member GetContextData : 
        walker:ElementWalker * 
        key:Object -> Object
public static function GetContextData(
    walker : ElementWalker, 
    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