Table of Contents

Method ToString

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ToString()

public override string ToString()

Returns

string

ToString(LinqProvider)

Returns a string that represents this instance.

[Obsolete("This method will be removed in a later release.")]
public string ToString(LinqProvider linqProvider)

Parameters

linqProvider LinqProvider

The LINQ provider.

Returns

string

A string that represents this instance.

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, LinqProvider)

Returns a string that represents this instance.

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

Parameters

inputSerializer IBsonSerializer<TInput>

The input serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

linqProvider LinqProvider

The LINQ provider.

Returns

string

A string that represents this instance.