Compartilhar via


ClosureContextHelper.AddContextListData Method

Definition

Overloads

AddContextListData(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.

AddContextListData(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 doesn't exist.

AddContextListData(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.

AddContextListData(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.

public:
 void AddContextListData(System::Object ^ key, System::Object ^ value);
public void AddContextListData (object key, object value);
member this.AddContextListData : obj * obj -> unit
Public Sub AddContextListData (key As Object, value As Object)

Parameters

key
Object

the key of the list

value
Object

the value to add to the list

Applies to

AddContextListData(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 doesn't exist.

public:
 static void AddContextListData(Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup, System::Object ^ key, System::Object ^ value);
public static void AddContextListData (Microsoft.VisualStudio.Modeling.ElementGroup elementGroup, object key, object value);
static member AddContextListData : Microsoft.VisualStudio.Modeling.ElementGroup * obj * obj -> unit
Public Shared Sub AddContextListData (elementGroup As ElementGroup, key As Object, value As Object)

Parameters

elementGroup
ElementGroup

the elementGroup that will hold the context data

key
Object

the key of the list

value
Object

the value to add to the list

Applies to

AddContextListData(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.

public:
 static void AddContextListData(Microsoft::VisualStudio::Modeling::ElementWalker ^ walker, System::Object ^ key, System::Object ^ value);
public static void AddContextListData (Microsoft.VisualStudio.Modeling.ElementWalker walker, object key, object value);
static member AddContextListData : Microsoft.VisualStudio.Modeling.ElementWalker * obj * obj -> unit
Public Shared Sub AddContextListData (walker As ElementWalker, key As Object, value As Object)

Parameters

walker
ElementWalker

the walker that will hold the context data

key
Object

the key of the list

value
Object

the value to add to the list

Applies to