Redigera

Dela via


ImmutableDictionary<TKey,TValue>.ContainsValue(TValue) Method

Definition

Determines whether the immutable dictionary contains an element with the specified value.

public:
 virtual bool ContainsValue(TValue value);
public:
 bool ContainsValue(TValue value);
public bool ContainsValue (TValue value);
abstract member ContainsValue : 'Value -> bool
override this.ContainsValue : 'Value -> bool
member this.ContainsValue : 'Value -> bool
Public Function ContainsValue (value As TValue) As Boolean

Parameters

value
TValue

The value to locate. The value can be null for reference types.

Returns

true if the dictionary contains an element with the specified value; otherwise, false.

Applies to