public bool ContainsValue(
TValue value
)
Public Function ContainsValue (
value As TValue
) As Boolean
public:
bool ContainsValue(
TValue value
)
member ContainsValue :
value : 'TValue -> bool
This method determines equality using the EnumComparer<TEnum>.Comparer when TValue is an enum type, or the default equality comparer EqualityComparer<T>.Default for other TValue types.
This method performs a linear search; therefore, this method is an O(n) operation.