Table of Contents

Method ToString

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

ToString(IBsonSerializer<TDocument>, IBsonSerializerRegistry)

Returns a string that represents this instance.

public string ToString(IBsonSerializer<TDocument> inputSerializer, IBsonSerializerRegistry serializerRegistry)

Parameters

inputSerializer IBsonSerializer<TDocument>

The input serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

Returns

string

A string that represents this instance.

ToString(IBsonSerializer<TDocument>, IBsonSerializerRegistry, ExpressionTranslationOptions)

Returns a string that represents this instance.

public string ToString(IBsonSerializer<TDocument> inputSerializer, IBsonSerializerRegistry serializerRegistry, ExpressionTranslationOptions translationOptions)

Parameters

inputSerializer IBsonSerializer<TDocument>

The input serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

translationOptions ExpressionTranslationOptions

The translation options.

Returns

string

A string that represents this instance.