Click or drag to resize

DateTimeOffsetSerializerDeserialize Method

Deserializes a value.

Namespace:  MongoDB.Bson.Serialization.Serializers
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public override DateTimeOffset Deserialize(
	BsonDeserializationContext context,
	BsonDeserializationArgs args
)

Parameters

context
Type: MongoDB.Bson.SerializationBsonDeserializationContext
The deserialization context.
args
Type: MongoDB.Bson.SerializationBsonDeserializationArgs
The deserialization args.

Return Value

Type: DateTimeOffset
A deserialized value.

Implements

IBsonSerializerTValueDeserialize(BsonDeserializationContext, BsonDeserializationArgs)
See Also