BsonDocumentSortDefinitionTDocument Class | 
Namespace: MongoDB.Driver
The BsonDocumentSortDefinitionTDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| BsonDocumentSortDefinitionTDocument | 
            Initializes a new instance of the BsonDocumentSortDefinitionTDocument class.
              | 
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| Render | 
            Renders the sort to a BsonDocument.
              (Overrides SortDefinitionTDocumentRender(IBsonSerializerTDocument, IBsonSerializerRegistry).) | |
| ToString | (Inherited from Object.) | 
| Name | Description | |
|---|---|---|
| AscendingTDocument(ExpressionFuncTDocument, Object) | Overloaded.   
            Combines an existing sort with an ascending field.
              (Defined by SortDefinitionExtensions.) | |
| AscendingTDocument(FieldDefinitionTDocument) | Overloaded.   
            Combines an existing sort with an ascending field.
              (Defined by SortDefinitionExtensions.) | |
| DescendingTDocument(ExpressionFuncTDocument, Object) | Overloaded.   
            Combines an existing sort with an descending field.
              (Defined by SortDefinitionExtensions.) | |
| DescendingTDocument(FieldDefinitionTDocument) | Overloaded.   
            Combines an existing sort with an descending field.
              (Defined by SortDefinitionExtensions.) | |
| MetaTextScoreTDocument | 
            Combines an existing sort with a descending sort on the computed relevance score of a text search.
            The field name should be the name of the projected relevance score field.
              (Defined by SortDefinitionExtensions.) | |
| 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.) |