Remove(KeyValuePair<KeyType,ValueType>) Method
Removes the element with the key component of the specified key/value pair from the Dictionary
Syntax
public System.bool Remove(
System.Collections.Generic.KeyValuePair<KeyType,ValueType> item
)Public Overloads Function Remove( _
ByVal item As System.Collections.Generic.KeyValuePair(Of KeyType,ValueType) _
) As System.BooleanParameters
| Name | Description |
|---|---|
| item | The key/value pair to remove from the dictionary |
Return Value
true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original Dictionary