Share via


ReferenceContext.Add Method (Object, Object)

 

Associate a value with a particular key in the reference context.

Namespace:   Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)

Syntax

public void Add(
    object key,
    object value
)
public:
void Add(
    Object^ key,
    Object^ value
)
member Add : 
        key:Object *
        value:Object -> unit
Public Sub Add (
    key As Object,
    value As 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.

Return Value

               

See Also

ReferenceContext Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top