IndexKeysDefinitionBuilderTDocument Methods | 
The IndexKeysDefinitionBuilderTDocument generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Ascending(ExpressionFuncTDocument, Object) | 
            Creates an ascending index key definition.
              | |
| Ascending(FieldDefinitionTDocument) | 
            Creates an ascending index key definition.
              | |
| Combine(IndexKeysDefinitionTDocument) | 
            Creates a combined index keys definition.
              | |
| Combine(IEnumerableIndexKeysDefinitionTDocument) | 
            Creates a combined index keys definition.
              | |
| Descending(ExpressionFuncTDocument, Object) | 
            Creates a descending index key definition.
              | |
| Descending(FieldDefinitionTDocument) | 
            Creates a descending index key definition.
              | |
| Equals | Determines whether the specified object is equal to the current object.  (Inherited from Object.) | |
| Geo2D(ExpressionFuncTDocument, Object) | 
            Creates a 2d index key definition.
              | |
| Geo2D(FieldDefinitionTDocument) | 
            Creates a 2d index key definition.
              | |
| Geo2DSphere(ExpressionFuncTDocument, Object) | 
            Creates a 2dsphere index key definition.
              | |
| Geo2DSphere(FieldDefinitionTDocument) | 
            Creates a 2dsphere index key definition.
              | |
| GeoHaystack(ExpressionFuncTDocument, Object, ExpressionFuncTDocument, Object) |  Obsolete.  
            Creates a geo haystack index key definition.
              | |
| GeoHaystack(FieldDefinitionTDocument, FieldDefinitionTDocument) |  Obsolete.  
            Creates a geo haystack index key definition.
              | |
| GetHashCode | Serves as the default hash function.   (Inherited from Object.) | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| Hashed(ExpressionFuncTDocument, Object) | 
            Creates a hashed index key definition.
              | |
| Hashed(FieldDefinitionTDocument) | 
            Creates a hashed index key definition.
              | |
| Text(ExpressionFuncTDocument, Object) | 
            Creates a text index key definition.
              | |
| Text(FieldDefinitionTDocument) | 
            Creates a text index key definition.
              | |
| ToString | Returns a string that represents the current object.  (Inherited from Object.) | |
| Wildcard(ExpressionFuncTDocument, Object) | 
            Creates a wildcard index key definition.
              | |
| Wildcard(FieldDefinitionTDocument) | 
            Creates a wildcard index key definition. The method doesn't expect to specify a wildcard key explicitly.
              | 
| 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.) |