ModelItemCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
abstract void Add(System::Activities::Presentation::Model::ModelItem ^ item);
public abstract void Add (System.Activities.Presentation.Model.ModelItem item);
abstract member Add : System.Activities.Presentation.Model.ModelItem -> unit
Public MustOverride Sub Add (item As ModelItem)
Parameters
- item
- ModelItem
The model item to add to the collection.
Implements
Applies to
Add(Object)
Adds a model item to the end of the ModelItemCollection.
public:
abstract System::Activities::Presentation::Model::ModelItem ^ Add(System::Object ^ value);
public abstract System.Activities.Presentation.Model.ModelItem Add (object value);
abstract member Add : obj -> System.Activities.Presentation.Model.ModelItem
Public MustOverride Function Add (value As Object) As ModelItem
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.