ModelItemDictionary.Add ModelItemDictionary.Add ModelItemDictionary.Add ModelItemDictionary.Add Method

Definition

Adds the value to the dictionary under the given key.

Overloads

Add(ModelItem, ModelItem) Add(ModelItem, ModelItem) Add(ModelItem, ModelItem) Add(ModelItem, ModelItem)

Adds the value to the dictionary under the given key.

Add(Object, Object) Add(Object, Object) Add(Object, Object) Add(Object, Object)

Adds the value to the dictionary under the given key. This method wraps the key and value in a set of ModelItem objects.

Add(ModelItem, ModelItem) Add(ModelItem, ModelItem) Add(ModelItem, ModelItem) Add(ModelItem, ModelItem)

Adds the value to the dictionary under the given key.

public:
 abstract void Add(System::Activities::Presentation::Model::ModelItem ^ key, System::Activities::Presentation::Model::ModelItem ^ value);
public abstract void Add (System.Activities.Presentation.Model.ModelItem key, System.Activities.Presentation.Model.ModelItem value);
abstract member Add : System.Activities.Presentation.Model.ModelItem * System.Activities.Presentation.Model.ModelItem -> unit
Public MustOverride Sub Add (key As ModelItem, value As ModelItem)

Parameters

key
ModelItem ModelItem ModelItem ModelItem

The ModelItem that represents the key in the key/value pair to be added.

value
ModelItem ModelItem ModelItem ModelItem

The ModelItem that represents the value in the key/value pair to be added.

Implements

Exceptions

Add(Object, Object) Add(Object, Object) Add(Object, Object) Add(Object, Object)

Adds the value to the dictionary under the given key. This method wraps the key and value in a set of ModelItem objects.

public:
 abstract System::Activities::Presentation::Model::ModelItem ^ Add(System::Object ^ key, System::Object ^ value);
public abstract System.Activities.Presentation.Model.ModelItem Add (object key, object value);
abstract member Add : obj * obj -> System.Activities.Presentation.Model.ModelItem
Public MustOverride Function Add (key As Object, value As Object) As ModelItem

Parameters

key
Object Object Object Object

The key in the key/value pair to be added.

value
Object Object Object Object

The value in the key/value pair to be added.

Returns

A ModelItem that represents the key.

Exceptions

Applies to