Class FindOneAndDeleteOptions<TDocument, TProjection>

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Options for a findAndModify command to delete an object.

public class FindOneAndDeleteOptions<TDocument, TProjection>

Type Parameters

TDocument

The type of the document.

TProjection

The type of the projection (same as TDocument if there is no projection).

Inheritance

FindOneAndDeleteOptions<TDocument, TProjection>

Derived

Inherited Members

Properties

Collation

Gets or sets the collation.

Comment

Gets or sets the comment.

Hint

Gets or sets the hint.

Let

Gets or sets the let document.

MaxTime

Gets or sets the maximum time.

Projection

Gets or sets the projection.

Sort

Gets or sets the sort.