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