Table of Contents

Method ContainsValue

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ContainsValue(BsonValue)

Tests whether the document contains an element with the specified value.

public override bool ContainsValue(BsonValue value)

Parameters

value BsonValue

The value of the element to look for.

Returns

bool

True if the document contains an element with the specified value.