EnumRepresentationConvention Constructor |
Namespace:
MongoDB.Bson.Serialization.Conventions
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax public EnumRepresentationConvention(
BsonType representation
)
Public Sub New (
representation As BsonType
)
new :
representation : BsonType -> EnumRepresentationConvention
Parameters
- representation
- Type: MongoDB.BsonBsonType
The serialization representation. 0 is used to detect representation
from the enum itself.
See Also