ModelItemCollection.Add Method (Object)

When overridden in a derived class, adds the specified object to the collection.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Function Add ( _
    value As Object _
) As ModelItem
public abstract ModelItem Add(
    Object value
)
public:
virtual ModelItem^ Add(
    Object^ value
) abstract
abstract Add : 
        value:Object -> ModelItem 
public abstract function Add(
    value : Object
) : ModelItem

Parameters

  • value
    Type: System.Object
    An object to be added to the collection.

Return Value

Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem representing the value.

Remarks

This method will create an item for the value.

.NET Framework Security

See Also

Reference

ModelItemCollection Class

Add Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture