Share via


ModelItemCollection.Remove Method (Object)

When overridden in a derived class, removes a value 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 ( _
    value As Object _
) As Boolean
public abstract bool Remove(
    Object value
)
public:
virtual bool Remove(
    Object^ value
) abstract
abstract Remove : 
        value:Object -> bool 
public abstract function Remove(
    value : Object
) : boolean

Parameters

  • value
    Type: System.Object
    The item to be removed from the collection.

Return Value

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

Remarks

This method does nothing if the value 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