AdvisableDictionary<TKey, TValue>.RemoveItem Method |
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.8.6.0 (6.8.6.0)
protected virtual bool RemoveItem( TKey key )
Parameters
- key
- Type: TKey
The key of the element to remove.
Return Value
Type: Booleantrue if the element was successfully found and removed, otherwise false. This method returns false if key if not found in the underlying dictionary.
This method does not cause the advices to be executed. It should be invoked only from inside the scope of the ExecuteWithAdvices method. |