Table of Contents

Method Not

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

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.