Table of Contents

Method Include

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

Include(params string[])

Adds one or more field names to be included in the results.

public FieldsBuilder Include(params string[] names)

Parameters

names string[]

One or more field names.

Returns

FieldsBuilder

The builder (so method calls can be chained).