ModelItemDictionary.Remove ModelItemDictionary.Remove ModelItemDictionary.Remove ModelItemDictionary.Remove Method

Definition

Removes the item from the dictionary.

Overloads

Remove(ModelItem) Remove(ModelItem) Remove(ModelItem) Remove(ModelItem)

Removes the item with the specified key from the dictionary.

Remove(Object) Remove(Object) Remove(Object) Remove(Object)

Removes the item from the dictionary.

Remove(ModelItem) Remove(ModelItem) Remove(ModelItem) Remove(ModelItem)

Removes the item with the specified key from the dictionary.

public:
 abstract bool Remove(System::Activities::Presentation::Model::ModelItem ^ key);
public abstract bool Remove (System.Activities.Presentation.Model.ModelItem key);
abstract member Remove : System.Activities.Presentation.Model.ModelItem -> bool
Public MustOverride Function Remove (key As ModelItem) As Boolean

Parameters

key
ModelItem ModelItem ModelItem ModelItem

The key of the element to remove.

Returns

true if the item exists; otherwise, false.

Implements

Exceptions

Remarks

This method does nothing if the item does not exist in the collection.

Remove(Object) Remove(Object) Remove(Object) Remove(Object)

Removes the item from the dictionary.

public:
 abstract bool Remove(System::Object ^ key);
public abstract bool Remove (object key);
abstract member Remove : obj -> bool
Public MustOverride Function Remove (key As Object) As Boolean

Parameters

key
Object Object Object Object

The item to remove using the key as the search criterion.

Returns

true if the item exists; otherwise, false.

Exceptions

Remarks

This method does nothing if the item does not exist in the collection.

Applies to