Method ContainsValue
ContainsValue(BsonValue)
Tests whether the document contains an element with the specified value.
public virtual bool ContainsValue(BsonValue value)Parameters
- valueBsonValue
- The value of the element to look for. 
Returns
- bool
- True if the document contains an element with the specified value.