ClosureContextHelper.AddContextListData Method (ElementWalker, 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 doesn't 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 ( _
    walker As ElementWalker, _
    key As Object, _
    value As Object _
)
public static void AddContextListData(
    ElementWalker walker,
    Object key,
    Object value
)
public:
static void AddContextListData(
    ElementWalker^ walker, 
    Object^ key, 
    Object^ value
)
static member AddContextListData : 
        walker:ElementWalker * 
        key:Object * 
        value:Object -> unit
public static function AddContextListData(
    walker : ElementWalker, 
    key : Object, 
    value : Object
)

Parameters

  • key
    Type: Object

    the key of the list

  • value
    Type: Object

    the value to add to the list

.NET Framework Security

See Also

Reference

ClosureContextHelper Class

AddContextListData Overload

Microsoft.VisualStudio.Modeling Namespace