Method Not
Not(FilterDefinition<TDocument>)
Creates a not filter.
public FilterDefinition<TDocument> Not(FilterDefinition<TDocument> filter)
Parameters
filter
FilterDefinition<TDocument>The filter.
Returns
- FilterDefinition<TDocument>
A not filter.