Table of Contents

Class GeoHaystackSearchOptionsDocument

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

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

[BsonSerializer(typeof(GeoHaystackSearchOptionsDocument.Serializer))]
[Obsolete("Use GeoHaystackSearchArgs instead.")]
public class GeoHaystackSearchOptionsDocument : BsonDocument, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonDocument>, IConvertibleToBsonDocument, IEnumerable<BsonElement>, IEnumerable, IEquatable<BsonDocument>, IMongoGeoHaystackSearchOptions
Inheritance
GeoHaystackSearchOptionsDocument
Implements
Inherited Members
Extension Methods

Constructors

GeoHaystackSearchOptionsDocument()

Initializes a new instance of the GeoHaystackSearchOptionsDocument class.

GeoHaystackSearchOptionsDocument(BsonElement)

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

GeoHaystackSearchOptionsDocument(params BsonElement[])

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

GeoHaystackSearchOptionsDocument(bool)

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

GeoHaystackSearchOptionsDocument(Dictionary<string, object>)

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

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

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

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

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

GeoHaystackSearchOptionsDocument(IEnumerable<BsonElement>)

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

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

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

GeoHaystackSearchOptionsDocument(IDictionary)

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

GeoHaystackSearchOptionsDocument(IDictionary, IEnumerable)

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

GeoHaystackSearchOptionsDocument(string, BsonValue)

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