Click or drag to resize
DateTimeOffsetSerializerDeserialize Method
Deserializes a value.

Namespace: MongoDB.Bson.Serialization.Serializers
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.0.1
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