| ProjectionDefinitionTSource Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver
 Syntax
SyntaxThe ProjectionDefinitionTSource type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ProjectionDefinitionTSource | Initializes a new instance of the ProjectionDefinitionTSource class | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | Render | 
            Renders the projection to a RenderedProjectionDefinitionTProjection.
             | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Operators
Operators| Name | Description | |
|---|---|---|
|   | (String to ProjectionDefinitionTSource) | 
            Performs an implicit conversion from String to ProjectionDefinitionTSource, TProjection.
             | 
|   | (BsonDocument to ProjectionDefinitionTSource) | 
            Performs an implicit conversion from BsonDocument to ProjectionDefinitionTSource.
             | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ElemMatchTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, FilterDefinitionTItem) | Overloaded. 
            Combines an existing projection with a projection that filters the contents of an array.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | ElemMatchTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, ExpressionFuncTItem, Boolean) | Overloaded. 
            Combines an existing projection with a projection that filters the contents of an array.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | ElemMatchTDocument, TItem(FieldDefinitionTDocument, FilterDefinitionTItem) | Overloaded. 
            Combines an existing projection with a projection that filters the contents of an array.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | ExcludeTDocument(ExpressionFuncTDocument, Object) | Overloaded. 
            Combines an existing projection with a projection that excludes a field.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | ExcludeTDocument(FieldDefinitionTDocument) | Overloaded. 
            Combines an existing projection with a projection that excludes a field.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | IncludeTDocument(ExpressionFuncTDocument, Object) | Overloaded. 
            Combines an existing projection with a projection that includes a field.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | IncludeTDocument(FieldDefinitionTDocument) | Overloaded. 
            Combines an existing projection with a projection that includes a field.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | MetaTextScoreTDocument | 
            Combines an existing projection with a text score projection.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | SliceTDocument(ExpressionFuncTDocument, Object, Int32, NullableInt32) | Overloaded. 
            Combines an existing projection with an array slice projection.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | SliceTDocument(FieldDefinitionTDocument, Int32, NullableInt32) | Overloaded. 
            Combines an existing projection with an array slice projection.
            (Defined by ProjectionDefinitionExtensions.) | 
|  | ToBson | 
            Serializes an object to a BSON byte array.
            (Defined by BsonExtensionMethods.) | 
|  | ToBsonDocument | 
            Serializes an object to a BsonDocument.
            (Defined by BsonExtensionMethods.) | 
|  | ToJson | 
            Serializes an object to a JSON string.
            (Defined by BsonExtensionMethods.) | 
 See Also
See Also