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
- item
Type: System.Collections.Generic.KeyValuePair<ModelItem, ModelItem>
The key/value pair to remove from the collection.
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
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace