Method ContainsValue
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Bson.dll
ContainsValue(BsonValue)
Tests whether the document contains an element with the specified value.
public virtual bool ContainsValue(BsonValue value)
Parameters
value
BsonValue
The value of the element to look for.
Returns
True if the document contains an element with the specified value.