Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub SetContextData ( _
key As Object, _
value As Object _
)
'使用
Dim instance As ClosureContextHelper
Dim key As Object
Dim value As Object
instance.SetContextData(key, value)
public void SetContextData(
Object key,
Object value
)
public:
void SetContextData(
Object^ key,
Object^ value
)
public function SetContextData(
key : Object,
value : Object
)
Parameters
- key
Type: System.Object
- 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.