ClosureContextHelper.SetContextData Method (Object, Object)
Sets the data in the walker's context object for a particular key
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub SetContextData ( _
key As Object, _
value As Object _
)
public void SetContextData(
Object key,
Object value
)
public:
void SetContextData(
Object^ key,
Object^ value
)
member SetContextData :
key:Object *
value:Object -> unit
public function SetContextData(
key : Object,
value : Object
)
Parameters
key
Type: System.Objectthe key to set
value
Type: System.Objectthe value to set
.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.