Method WithGuidRepresentation
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
WithGuidRepresentation(GuidRepresentation)
Returns a serializer that has been reconfigured with the specified Guid representation.
public GuidSerializer WithGuidRepresentation(GuidRepresentation guidRepresentation)
Parameters
guidRepresentation
GuidRepresentationThe GuidRepresentation.
Returns
- GuidSerializer
The reconfigured serializer.