ReadOnlyDictionary<TKey,TValue>.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Remove(KeyValuePair<TKey,TValue>) | |
Remove(TKey) |
Remove(KeyValuePair<TKey,TValue>)
public:
virtual bool Remove(System::Collections::Generic::KeyValuePair<TKey, TValue> item);
public bool Remove (System.Collections.Generic.KeyValuePair<TKey,TValue> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Public Function Remove (item As KeyValuePair(Of TKey, TValue)) As Boolean
Parameters
- item
- KeyValuePair<TKey,TValue>
Returns
Implements
Applies to
Remove(TKey)
public:
virtual bool Remove(TKey key);
public bool Remove (TKey key);
abstract member Remove : 'Key -> bool
override this.Remove : 'Key -> bool
Public Function Remove (key As TKey) As Boolean
Parameters
- key
- TKey