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
- key
Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem representing the key of the item to be removed.
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
- 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