Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Shared Function GetContextData ( _
walker As ElementWalker, _
key As Object _
) As Object
'使用
Dim walker As ElementWalker
Dim key As Object
Dim returnValue As Object
returnValue = ClosureContextHelper.GetContextData(walker, _
key)
public static Object GetContextData(
ElementWalker walker,
Object key
)
public:
static Object^ GetContextData(
ElementWalker^ walker,
Object^ key
)
public static function GetContextData(
walker : ElementWalker,
key : Object
) : Object
Parameters
- walker
Type: Microsoft.VisualStudio.Modeling.ElementWalker
- key
Type: System.Object
Return Value
Type: System.Object
Permissions
- 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.