Table of Contents

Constructor BsonRepresentationAttribute

Namespace
MongoDB.Bson.Serialization.Attributes
Assembly
MongoDB.Bson.dll

BsonRepresentationAttribute(BsonType)

Initializes a new instance of the BsonRepresentationAttribute class.

public BsonRepresentationAttribute(BsonType representation)

Parameters

representation BsonType

The external representation.