public bool Remove(
TKey key
)Public Function Remove (
key As TKey
) As Booleanpublic:
virtual bool Remove(
TKey key
) sealedabstract Remove :
key : 'TKey -> bool
override Remove :
key : 'TKey -> bool If the CacheTKey, TValue does not contain an element with the specified key, the CacheTKey, TValue remains unchanged. No exception is thrown.
This method approaches an O(1) operation.
| ArgumentNullException | key is . |