ImmutableDictionary<TKey,TValue>.Builder.ContainsValue(TValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the immutable dictionary contains an element that has the specified value.
public:
bool ContainsValue(TValue value);
public bool ContainsValue (TValue value);
member this.ContainsValue : 'Value -> bool
Public Function ContainsValue (value As TValue) As Boolean
Parameters
- value
- TValue
The value to locate in the immutable dictionary. The value can be null
for reference types.
Returns
true
if the dictionary contains an element with the specified value; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.