SortDefinition<TDocument>.Render Method |
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.1.0
Syntax public abstract BsonDocument Render(
IBsonSerializer<TDocument> documentSerializer,
IBsonSerializerRegistry serializerRegistry
)
Public MustOverride Function Render (
documentSerializer As IBsonSerializer(Of TDocument),
serializerRegistry As IBsonSerializerRegistry
) As BsonDocument
abstract Render :
documentSerializer : IBsonSerializer<'TDocument> *
serializerRegistry : IBsonSerializerRegistry -> BsonDocument
Parameters
- documentSerializer
- Type: MongoDB.Bson.Serialization.IBsonSerializer<TDocument>
The document serializer. - serializerRegistry
- Type: MongoDB.Bson.Serialization.IBsonSerializerRegistry
The serializer registry.
Return Value
Type:
BsonDocumentA
BsonDocument.
See Also