ModelItemCollection.Remove Method (ModelItem)
When overridden in a derived class, removes an item from the collection.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function Remove ( _
item As ModelItem _
) As Boolean
public abstract bool Remove(
ModelItem item
)
public:
virtual bool Remove(
ModelItem^ item
) abstract
abstract Remove :
item:ModelItem -> bool
public abstract function Remove(
item : ModelItem
) : boolean
Parameters
- item
Type: Microsoft.Windows.Design.Model.ModelItem
The item to be removed.
Return Value
Type: System.Boolean
true if the item is successfully removed; otherwise, false.
Implements
Remarks
This method does nothing if the item does not exist in the collection.
.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