Table of Contents

Class CreateViewOptionsBuilder

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

A builder for the options used when creating a view.

[BsonSerializer(typeof(CreateViewOptionsBuilder.Serializer))]
public class CreateViewOptionsBuilder : BuilderBase, IConvertibleToBsonDocument, IMongoCreateViewOptions
Inheritance
CreateViewOptionsBuilder
Implements
Inherited Members
Extension Methods

Constructors

CreateViewOptionsBuilder()

Initializes a new instance of the CreateViewOptionsBuilder class.

Methods

SetCollation(Collation)

Sets the collation.

ToBsonDocument()

Returns the result of the builder as a BsonDocument.