Class IndexOptionsDocument
Represents a BSON document that can be used where an IMongoIndexOptions is expected.
[BsonSerializer(typeof(IndexOptionsDocument.Serializer))]
public class IndexOptionsDocument : BsonDocument, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonDocument>, IConvertibleToBsonDocument, IEnumerable<BsonElement>, IEnumerable, IEquatable<BsonDocument>, IMongoIndexOptions
- Inheritance
-
IndexOptionsDocument
- Implements
- Inherited Members
- Extension Methods
Constructors
- IndexOptionsDocument()
Initializes a new instance of the IndexOptionsDocument class.
- IndexOptionsDocument(BsonElement)
Initializes a new instance of the IndexOptionsDocument class and adds one element.
- IndexOptionsDocument(params BsonElement[])
Initializes a new instance of the IndexOptionsDocument class and adds one or more elements.
- IndexOptionsDocument(bool)
Initializes a new instance of the IndexOptionsDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
- IndexOptionsDocument(Dictionary<string, object>)
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- IndexOptionsDocument(Dictionary<string, object>, IEnumerable<string>)
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- IndexOptionsDocument(IDictionary<string, object>, IEnumerable<string>)
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- IndexOptionsDocument(IEnumerable<BsonElement>)
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a list of elements.
- IndexOptionsDocument(IEnumerable<KeyValuePair<string, object>>)
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- IndexOptionsDocument(IDictionary)
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- IndexOptionsDocument(IDictionary, IEnumerable)
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- IndexOptionsDocument(string, BsonValue)
Initializes a new instance of the IndexOptionsDocument class and creates and adds a new element.