| IAggregateFluentTResultSortByCountTId Method  | 
 
            Appends a sortByCount stage to the pipeline.
            
 
    Namespace: 
   MongoDB.Driver
    Assembly:
   MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
 Syntax
SyntaxIAggregateFluent<AggregateSortByCountResult<TId>> SortByCount<TId>(
	AggregateExpressionDefinition<TResult, TId> id
)
Function SortByCount(Of TId) ( 
	id As AggregateExpressionDefinition(Of TResult, TId)
) As IAggregateFluent(Of AggregateSortByCountResult(Of TId))
abstract SortByCount : 
        id : AggregateExpressionDefinition<'TResult, 'TId> -> IAggregateFluent<AggregateSortByCountResult<'TId>> 
Parameters
- id
- Type: MongoDB.DriverAggregateExpressionDefinitionTResult, TId
 The identifier.
Type Parameters
- TId
- The type of the identifier.
Return Value
Type: 
IAggregateFluentAggregateSortByCountResultTIdThe fluent aggregate interface.
 See Also
See Also