ModelItemCollection.Add Method

Definition

Adds a model item to the end of the ModelItemCollection.

Overloads

Add(ModelItem)

Adds a model item to the end of the ModelItemCollection.

Add(Object)

Adds a model item to the end of the ModelItemCollection.

Add(ModelItem)

Adds a model item to the end of the ModelItemCollection.

C#
public abstract void Add(System.Activities.Presentation.Model.ModelItem item);

Parameters

item
ModelItem

The model item to add to the collection.

Implements

Applies to

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Add(Object)

Adds a model item to the end of the ModelItemCollection.

C#
public abstract System.Activities.Presentation.Model.ModelItem Add(object value);

Parameters

value
Object

The object to add to the collection.

Returns

Returns value wrapped in a ModelItem.

Remarks

The object will be stored as a ModelItem.

Applies to

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1