Click or drag to resize

ProjectionDefinitionBuilder<TSource>.Meta Method

Creates a meta projection.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public ProjectionDefinition<TSource> Meta(
	string field,
	string metaFieldName
)

Parameters

field
Type: System.String
The field.
metaFieldName
Type: System.String
The meta field name.

Return Value

Type: ProjectionDefinition<TSource>
A text score projection.
See Also