Share via


ModelItemDictionary.Remove Method (Object)

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 Object _
) As Boolean
public abstract bool Remove(
    Object key
)
public:
virtual bool Remove(
    Object^ key
) abstract
abstract Remove : 
        key:Object -> bool 
public abstract function Remove(
    key : Object
) : boolean

Parameters

  • key
    Type: System.Object
    An object representing the key of the item to be removed.

Return Value

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

Remarks

This 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