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
BsonTypeThe external representation.