ReferenceContext.Add Method
Associate a value with a particular key in the reference context.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
‘선언
Public Sub Add ( _
key As Object, _
value As Object _
)
public void Add(
Object key,
Object value
)
public:
void Add(
Object^ key,
Object^ value
)
member Add :
key:Object *
value:Object -> unit
public function Add(
key : Object,
value : Object
)
Parameters
- key
Type: System.Object
The key to associate the value with. Cannot be null.
- value
Type: System.Object
The value to be associated with the key. Can be 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.