ModelItemCollection.Add Method (ModelItem)
When overridden in a derived class, adds the specified item to the collection.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Sub Add ( _
item As ModelItem _
)
public abstract void Add(
ModelItem item
)
public:
virtual void Add(
ModelItem^ item
) abstract
abstract Add :
item:ModelItem -> unit
public abstract function Add(
item : ModelItem
)
Parameters
- item
Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem to be added to the collection.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace