Share via


ClosureContextHelper.AddContextListData Method (ElementGroup, Object, Object)

Adds the data to the list in the walker's context object for a particular key. This will create the list if it does not exist.

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

Syntax

'Declaration
Public Shared Sub AddContextListData ( _
    elementGroup As ElementGroup, _
    key As Object, _
    value As Object _
)
public static void AddContextListData(
    ElementGroup elementGroup,
    Object key,
    Object value
)
public:
static void AddContextListData(
    ElementGroup^ elementGroup, 
    Object^ key, 
    Object^ value
)
static member AddContextListData : 
        elementGroup:ElementGroup * 
        key:Object * 
        value:Object -> unit
public static function AddContextListData(
    elementGroup : ElementGroup, 
    key : Object, 
    value : Object
)

Parameters

  • key
    Type: Object

    the key of the list

  • value
    Type: Object

    the value to add to the list

Remarks

Adds the data to the list in the walker's context object for a particular key. This will create the list if it does not exist.

.NET Framework Security

See Also

Reference

ClosureContextHelper Class

AddContextListData Overload

Microsoft.VisualStudio.Modeling Namespace