Table of Contents

Operator implicit operator

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

implicit operator WValue(int)

Performs an implicit conversion from int to WriteConcern.WValue.

public static implicit operator WriteConcern.WValue(int value)

Parameters

value int

The value.

Returns

WriteConcern.WValue

The result of the conversion.

implicit operator WValue(int?)

Performs an implicit conversion from Nullable{Int32} to WriteConcern.WValue.

public static implicit operator WriteConcern.WValue(int? value)

Parameters

value int?

The value.

Returns

WriteConcern.WValue

The result of the conversion.

implicit operator WValue(string)

Performs an implicit conversion from string to WriteConcern.WValue.

public static implicit operator WriteConcern.WValue(string value)

Parameters

value string

The value.

Returns

WriteConcern.WValue

The result of the conversion.