Method Render NamespaceMongoDB.Driver.Search AssemblyMongoDB.Driver.dll Render(RenderArgs<TDocument>) Renders the search definition to a BsonDocument. public override BsonDocument Render(RenderArgs<TDocument> args) Parameters args RenderArgs<TDocument> The render arguments. Returns BsonDocument A BsonDocument.