Click or drag to resize

EnumSerializerTEnumDeserialize Method

Deserializes a value.

Namespace:  MongoDB.Bson.Serialization.Serializers
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public override TEnum 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: TEnum
A deserialized value.

Implements

IBsonSerializerTValueDeserialize(BsonDeserializationContext, BsonDeserializationArgs)
See Also