SearchHighlightOptionsTDocumentRender Method |
Namespace:
MongoDB.Driver.Search
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax public BsonDocument Render(
IBsonSerializer<TDocument> documentSerializer,
IBsonSerializerRegistry serializerRegistry
)
Public Function Render (
documentSerializer As IBsonSerializer(Of TDocument),
serializerRegistry As IBsonSerializerRegistry
) As BsonDocument
member Render :
documentSerializer : IBsonSerializer<'TDocument> *
serializerRegistry : IBsonSerializerRegistry -> BsonDocument
Parameters
- documentSerializer
- Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The document serializer. - serializerRegistry
- Type: MongoDB.Bson.SerializationIBsonSerializerRegistry
The serializer registry.
Return Value
Type:
BsonDocumentA
BsonDocument.
See Also