Method Contains NamespaceMongoDB.Bson AssemblyMongoDB.Bson.dll Contains(BsonValue) Tests whether the array contains a value. public override bool Contains(BsonValue value) Parameters value BsonValue The value to test for. Returns bool True if the array contains the value.