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<TInput>, IBsonSerializerRegistry)

Returns a string that represents this instance.

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

Parameters

inputSerializer IBsonSerializer<TInput>

The input serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

Returns

string

A string that represents this instance.

ToString(IBsonSerializer<TInput>, IBsonSerializerRegistry, ExpressionTranslationOptions)

Returns a string that represents this instance.

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

Parameters

inputSerializer IBsonSerializer<TInput>

The input serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

translationOptions ExpressionTranslationOptions

The translation options.

Returns

string

A string that represents this instance.