Constructor RepresentationConverter

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization.Options

Assembly

MongoDB.Bson.dll

RepresentationConverter(bool, bool)

Initializes a new instance of the RepresentationConverter class.

public RepresentationConverter(bool allowOverflow, bool allowTruncation)

Parameters

allowOverflow bool

Whether to allow overflow.

allowTruncation bool

Whether to allow truncation.