Table of Contents

Method Exclude

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

Exclude(params string[])

Adds one or more field names to be excluded from the results.

public static FieldsBuilder Exclude(params string[] names)

Parameters

names string[]

One or more field names.

Returns

FieldsBuilder

The builder (so method calls can be chained).