ModelItemCollection.Remove Method (ModelItem)

When overridden in a derived class, removes an item from the collection.

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

Syntax

'Declaration
Public MustOverride Function Remove ( _
    item As ModelItem _
) As Boolean
public abstract bool Remove(
    ModelItem item
)
public:
virtual bool Remove(
    ModelItem^ item
) abstract
abstract Remove : 
        item:ModelItem -> bool 
public abstract function Remove(
    item : ModelItem
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the item is successfully removed; otherwise, false.

Implements

ICollection<T>.Remove(T)

Remarks

This method does nothing if the item does not exist in the collection.

.NET Framework Security

See Also

Reference

ModelItemCollection Class

Remove Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture