Click or drag to resize

IndexKeysDefinitionBuilderTDocument Methods

The IndexKeysDefinitionBuilderTDocument generic type exposes the following members.

Methods
  NameDescription
Public methodAscending(ExpressionFuncTDocument, Object)
Creates an ascending index key definition.
Public methodAscending(FieldDefinitionTDocument)
Creates an ascending index key definition.
Public methodCombine(IndexKeysDefinitionTDocument)
Creates a combined index keys definition.
Public methodCombine(IEnumerableIndexKeysDefinitionTDocument)
Creates a combined index keys definition.
Public methodDescending(ExpressionFuncTDocument, Object)
Creates a descending index key definition.
Public methodDescending(FieldDefinitionTDocument)
Creates a descending index key definition.
Public methodEquals (Inherited from Object.)
Public methodGeo2D(ExpressionFuncTDocument, Object)
Creates a 2d index key definition.
Public methodGeo2D(FieldDefinitionTDocument)
Creates a 2d index key definition.
Public methodGeo2DSphere(ExpressionFuncTDocument, Object)
Creates a 2dsphere index key definition.
Public methodGeo2DSphere(FieldDefinitionTDocument)
Creates a 2dsphere index key definition.
Public methodGeoHaystack(ExpressionFuncTDocument, Object, ExpressionFuncTDocument, Object)
Creates a geo haystack index key definition.
Public methodGeoHaystack(FieldDefinitionTDocument, FieldDefinitionTDocument)
Creates a geo haystack index key definition.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHashed(ExpressionFuncTDocument, Object)
Creates a hashed index key definition.
Public methodHashed(FieldDefinitionTDocument)
Creates a hashed index key definition.
Public methodText(ExpressionFuncTDocument, Object)
Creates a text index key definition.
Public methodText(FieldDefinitionTDocument)
Creates a text index key definition.
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also