ClosureContextHelper.GetContextData Method (ElementGroup, 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 ( _
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
elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroupthe elementGroup that will hold the context data
key
Type: Objectthe key to search for
Return Value
Type: 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.