Share via


ModelItemDictionary.Remove Method (ModelItem)

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

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

Syntax

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

Parameters

Return Value

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

Implements

IDictionary<TKey, TValue>.Remove(TKey)

Remarks

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

.NET Framework Security

See Also

Reference

ModelItemDictionary Class

Remove Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture