Table of Contents

Class CreateViewOptionsDocument

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

Represents a BSON document that can be used where an IMongoCreateViewOptions is expected.

[BsonSerializer(typeof(CreateViewOptionsDocument.Serializer))]
public class CreateViewOptionsDocument : BsonDocument, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonDocument>, IConvertibleToBsonDocument, IEnumerable<BsonElement>, IEnumerable, IEquatable<BsonDocument>, IMongoCreateViewOptions
Inheritance
CreateViewOptionsDocument
Implements
Inherited Members
Extension Methods

Constructors

CreateViewOptionsDocument()

Initializes a new instance of the CreateViewOptionsDocument class.

CreateViewOptionsDocument(BsonElement)

Initializes a new instance of the CreateViewOptionsDocument class and adds one element.

CreateViewOptionsDocument(params BsonElement[])

Initializes a new instance of the CreateViewOptionsDocument class and adds one or more elements.

CreateViewOptionsDocument(bool)

Initializes a new instance of the CreateViewOptionsDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).

CreateViewOptionsDocument(Dictionary<string, object>)

Initializes a new instance of the CreateViewOptionsDocument class and adds new elements from a dictionary of key/value pairs.

CreateViewOptionsDocument(Dictionary<string, object>, IEnumerable<string>)

Initializes a new instance of the CreateViewOptionsDocument class and adds new elements from a dictionary of key/value pairs.

CreateViewOptionsDocument(IDictionary<string, object>, IEnumerable<string>)

Initializes a new instance of the CreateViewOptionsDocument class and adds new elements from a dictionary of key/value pairs.

CreateViewOptionsDocument(IEnumerable<BsonElement>)

Initializes a new instance of the CreateViewOptionsDocument class and adds new elements from a list of elements.

CreateViewOptionsDocument(IEnumerable<KeyValuePair<string, object>>)

Initializes a new instance of the CreateViewOptionsDocument class and adds new elements from a dictionary of key/value pairs.

CreateViewOptionsDocument(IDictionary)

Initializes a new instance of the CreateViewOptionsDocument class and adds new elements from a dictionary of key/value pairs.

CreateViewOptionsDocument(IDictionary, IEnumerable)

Initializes a new instance of the CreateViewOptionsDocument class and adds new elements from a dictionary of key/value pairs.

CreateViewOptionsDocument(string, BsonValue)

Initializes a new instance of the CreateViewOptionsDocument class and creates and adds a new element.