ClosureContextHelper.GetContextData Method (ElementWalker, 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
'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
- walker
Type: Microsoft.VisualStudio.Modeling.ElementWalker
the walker that holds the context data
- key
Type: System.Object
the key to search for
Return Value
Type: System.Object
object found or null
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.