Click or drag to resize

SearchPathDefinitionTDocumentRenderField Method

Renders the field.

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
protected string RenderField(
	FieldDefinition<TDocument> fieldDefinition,
	SearchDefinitionRenderContext<TDocument> renderContext
)

Parameters

fieldDefinition
Type: MongoDB.DriverFieldDefinitionTDocument
The field definition.
renderContext
Type: MongoDB.Driver.SearchSearchDefinitionRenderContextTDocument
The render context.

Return Value

Type: String
The rendered field.
See Also