Click or drag to resize
BsonDocumentProjectionDefinitionTSource Class
A BsonDocument based projection whose projection type is not yet known.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverProjectionDefinitionTSource
    MongoDB.DriverBsonDocumentProjectionDefinitionTSource

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.1.0
Syntax
public sealed class BsonDocumentProjectionDefinition<TSource> : ProjectionDefinition<TSource>

Type Parameters

TSource
The type of the source.

The BsonDocumentProjectionDefinitionTSource type exposes the following members.

Constructors
  NameDescription
Public methodBsonDocumentProjectionDefinitionTSource
Initializes a new instance of the BsonDocumentProjectionDefinitionTSource class.
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodElemMatchTSource, TItem(ExpressionFuncTSource, IEnumerableTItem, FilterDefinitionTItem)Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodElemMatchTSource, TItem(ExpressionFuncTSource, IEnumerableTItem, ExpressionFuncTItem, Boolean)Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodElemMatchTSource, TItem(FieldDefinitionTSource, FilterDefinitionTItem)Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodExcludeTSource(ExpressionFuncTSource, Object)Overloaded.
Combines an existing projection with a projection that excludes a field.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodExcludeTSource(FieldDefinitionTSource)Overloaded.
Combines an existing projection with a projection that excludes a field.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodIncludeTSource(ExpressionFuncTSource, Object)Overloaded.
Combines an existing projection with a projection that includes a field.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodIncludeTSource(FieldDefinitionTSource)Overloaded.
Combines an existing projection with a projection that includes a field.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodMetaTextScoreTSource
Combines an existing projection with a text score projection.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodSliceTSource(ExpressionFuncTSource, Object, Int32, NullableInt32)Overloaded.
Combines an existing projection with an array slice projection.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodSliceTSource(FieldDefinitionTSource, Int32, NullableInt32)Overloaded.
Combines an existing projection with an array slice projection.
(Defined by ProjectionDefinitionExtensions.)
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
Properties
  NameDescription
Public propertyDocument
Gets the document.
Top
See Also