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
)
Protected Function RenderField (
fieldDefinition As FieldDefinition(Of TDocument),
renderContext As SearchDefinitionRenderContext(Of TDocument)
) As String
member RenderField :
fieldDefinition : FieldDefinition<'TDocument> *
renderContext : SearchDefinitionRenderContext<'TDocument> -> string
Parameters
- fieldDefinition
- Type: MongoDB.DriverFieldDefinitionTDocument
The field definition. - renderContext
- Type: MongoDB.Driver.SearchSearchDefinitionRenderContextTDocument
The render context.
Return Value
Type:
StringThe rendered field.
See Also