Method WithRepresentation
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
WithRepresentation(BsonType)
Returns a serializer that has been reconfigured with the specified representation.
public UInt32Serializer WithRepresentation(BsonType representation)Parameters
- representationBsonType
- The representation. 
Returns
- UInt32Serializer
- The reconfigured serializer.