Share via


ModelItemDictionary.ICollection<KeyValuePair<ModelItem, ModelItem>>.Remove Method

For a description of this member, see ICollection<T>.Remove.

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

Syntax

'Declaration
Private Function Remove ( _
    item As KeyValuePair(Of ModelItem, ModelItem) _
) As Boolean Implements ICollection(Of KeyValuePair(Of ModelItem, ModelItem)).Remove
bool ICollection<KeyValuePair<ModelItem, ModelItem>>.Remove(
    KeyValuePair<ModelItem, ModelItem> item
)
private:
virtual bool Remove(
    KeyValuePair<ModelItem^, ModelItem^> item
) sealed = ICollection<KeyValuePair<ModelItem^, ModelItem^>>::Remove
private abstract Remove : 
        item:KeyValuePair<ModelItem, ModelItem> -> bool 
private override Remove : 
        item:KeyValuePair<ModelItem, ModelItem> -> bool 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the original collection.

Implements

ICollection<T>.Remove(T)

Remarks

This member is an explicit interface member implementation. It can be used only when the ModelItemDictionary instance is cast to an ICollection<T> interface.

.NET Framework Security

See Also

Reference

ModelItemDictionary Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture