| QueryBuilderTDocument Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver.Builders
 Syntax
SyntaxThe QueryBuilderTDocument type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | QueryBuilderTDocument | 
            Initializes a new instance of the QueryBuilderTDocument class.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | AllTValue | 
            Tests that the named array element contains all of the values (see $all).
             | 
|  | And(IMongoQuery) | 
            Tests that all the queries are true (see $and in newer versions of the server).
             | 
|  | And(IEnumerableIMongoQuery) | 
            Tests that all the queries are true (see $and in newer versions of the server).
             | 
|  | BitsAllClear | 
            Tests that the value of the named element has all of the specified bits clear.
             | 
|  | BitsAllSet | 
            Tests that the value of the named element has all of the specified bits set.
             | 
|  | BitsAnyClear | 
            Tests that the value of the named element has any of the specified bits clear.
             | 
|  | BitsAnySet | 
            Tests that the value of the named element has any of the specified bits set.
             | 
|  | ElemMatchTValue | 
            Tests that at least one item of the named array element matches a query (see $elemMatch).
             | 
|  | EQTValue(ExpressionFuncTDocument, IEnumerableTValue, TValue) | 
            Tests that any of the values in the named array element is equal to some value.
             | 
|  | EQTMember(ExpressionFuncTDocument, TMember, TMember) | 
            Tests that the value of the named element is equal to some value.
             | 
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | ExistsTMember | 
            Tests that an element of that name does or does not exist (see $exists).
             | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | GeoIntersectsTMember, TCoordinates | 
            Tests that a location element specified by name intersects with the geometry (see $geoIntersects).
             | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | GTTValue(ExpressionFuncTDocument, IEnumerableTValue, TValue) | 
            Tests that any of the values in the named array element is greater than some value (see $lt).
             | 
|  | GTTMember(ExpressionFuncTDocument, TMember, TMember) | 
            Tests that the value of the named element is greater than some value (see $gt).
             | 
|  | GTETValue(ExpressionFuncTDocument, IEnumerableTValue, TValue) | 
            Tests that any of the values in the named array element is greater than or equal to some value (see $gte).
             | 
|  | GTETMember(ExpressionFuncTDocument, TMember, TMember) | 
            Tests that the value of the named element is greater than or equal to some value (see $gte).
             | 
|  | InTValue(ExpressionFuncTDocument, IEnumerableTValue, IEnumerableTValue) | 
            Tests that any of the values in the named array element are equal to one of a list of values (see $in).
             | 
|  | InTMember(ExpressionFuncTDocument, TMember, IEnumerableTMember) | 
            Tests that the value of the named element is equal to one of a list of values (see $in).
             | 
|  | LTTValue(ExpressionFuncTDocument, IEnumerableTValue, TValue) | 
            Tests that any of the values in the named array element is less than some value (see $lt).
             | 
|  | LTTMember(ExpressionFuncTDocument, TMember, TMember) | 
            Tests that the value of the named element is less than some value (see $lt).
             | 
|  | LTETValue(ExpressionFuncTDocument, IEnumerableTValue, TValue) | 
            Tests that any of the values in the named array element is less than or equal to some value (see $lte).
             | 
|  | LTETMember(ExpressionFuncTDocument, TMember, TMember) | 
            Tests that the value of the named element is less than or equal to some value (see $lte).
             | 
|  | Matches(ExpressionFuncTDocument, IEnumerableString, BsonRegularExpression) | 
            Tests that any of the values in the named array element matches a regular expression (see $regex).
             | 
|  | Matches(ExpressionFuncTDocument, String, BsonRegularExpression) | 
            Tests that the value of the named element matches a regular expression (see $regex).
             | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | Mod(ExpressionFuncTDocument, IEnumerableInt32, Int64, Int64) | 
            Tests that the any of the values in the named array element match some value (see $mod).
             | 
|  | Mod(ExpressionFuncTDocument, Int32, Int64, Int64) | 
            Tests that the modulus of the value of the named element matches some value (see $mod).
             | 
|  | NETValue(ExpressionFuncTDocument, IEnumerableTValue, TValue) | 
            Tests that none of the values in the named array element is equal to some value (see $ne).
             | 
|  | NETMember(ExpressionFuncTDocument, TMember, TMember) | 
            Tests that an element does not equal the value (see $ne).
             | 
|  | NearTMember(ExpressionFuncTDocument, TMember, Double, Double) | 
            Tests that the value of the named element is near some location (see $near).
             | 
|  | NearTMember(ExpressionFuncTDocument, TMember, Double, Double, Double) | 
            Tests that the value of the named element is near some location (see $near).
             | 
|  | NearTMember(ExpressionFuncTDocument, TMember, Double, Double, Double, Boolean) | 
            Tests that the value of the named element is near some location (see $near).
             | 
|  | NearTMember, TCoordinates(ExpressionFuncTDocument, TMember, GeoJsonPointTCoordinates) | 
            Tests that the value of the named element is near a point (see $near).
             | 
|  | NearTMember, TCoordinates(ExpressionFuncTDocument, TMember, GeoJsonPointTCoordinates, Double) | 
            Tests that the value of the named element is near some location (see $near).
             | 
|  | NearTMember, TCoordinates(ExpressionFuncTDocument, TMember, GeoJsonPointTCoordinates, Double, Boolean) | 
            Tests that the value of the named element is near some location (see $near).
             | 
|  | Not | 
            Tests that the inverse of the query is true (see $not).
             | 
|  | NotExistsTMember | 
            Tests that an element of that name does not exist (see $exists).
             | 
|  | NotInTValue(ExpressionFuncTDocument, IEnumerableTValue, IEnumerableTValue) | 
            Tests that the none of the values of the named array element is equal to any item in a list of values (see $nin).
             | 
|  | NotInTMember(ExpressionFuncTDocument, TMember, IEnumerableTMember) | 
            Tests that the value of the named element is not equal to any item in a list of values (see $nin).
             | 
|  | Or(IMongoQuery) | 
            Tests that at least one of the subqueries is true (see $or).
             | 
|  | Or(IEnumerableIMongoQuery) | 
            Tests that at least one of the subqueries is true (see $or).
             | 
|  | SizeTValue | 
            Tests that the size of the named array is equal to some value (see $size).
             | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
|  | TypeTValue(ExpressionFuncTDocument, IEnumerableTValue, BsonType) | 
            Tests that any of the values in the named array element is equal to some type (see $type).
             | 
|  | TypeTValue(ExpressionFuncTDocument, IEnumerableTValue, String) | 
            Tests that any of the values in the named array element is equal to some type (see $type).
             | 
|  | TypeTMember(ExpressionFuncTDocument, TMember, BsonType) | 
            Tests that the type of the named element is equal to some type (see $type).
             | 
|  | TypeTMember(ExpressionFuncTDocument, TMember, String) | 
            Tests that the type of the named element is equal to some type (see $type).
             | 
|  | Where | 
            Builds a query from an expression.
             | 
|  | WithinTMember, TCoordinates | 
            Tests that the value of the named element is within the specified geometry (see $within).
             | 
|  | WithinCircleTMember(ExpressionFuncTDocument, TMember, Double, Double, Double) | 
            Tests that the value of the named element is within a circle (see $within and $center).
             | 
|  | WithinCircleTMember(ExpressionFuncTDocument, TMember, Double, Double, Double, Boolean) | 
            Tests that the value of the named element is within a circle (see $within and $center).
             | 
|  | WithinPolygonTMember | 
            Tests that the value of the named element is within a polygon (see $within and $polygon).
             | 
|  | WithinRectangleTMember | 
            Tests that the value of the named element is within a rectangle (see $within and $box).
             | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ToBson | 
            Serializes an object to a BSON byte array.
            (Defined by BsonExtensionMethods.) | 
|  | ToBsonDocument | 
            Serializes an object to a BsonDocument.
            (Defined by BsonExtensionMethods.) | 
|  | ToJson | 
            Serializes an object to a JSON string.
            (Defined by BsonExtensionMethods.) | 
 See Also
See Also