EnumRepresentationConvention Constructor |
Namespace:
MongoDB.Bson.Serialization.Conventions
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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