PostSharp//API Reference/Post­Sharp.​Patterns.​Collections/Advisable­Dictionary<TKey, TValue>/Contains­Value
Open sandboxFocus

Method ContainsValue

ContainsValue(TValue)

Determines whether the AdvisableDictionary<TKey, TValue> contains a specific value.

Declaration
public bool ContainsValue(TValue value)
Parameters
Type Name Description
TValue value

The value to locate in the AdvisableDictionary<TKey, TValue>. The value can be null for reference types.

Returns
Type Description
Boolean

true if the AdvisableDictionary<TKey, TValue> contains an element with the specified value; otherwise, false.