Click or drag to resize

BsonSerializationInfoMerge Method

Note: This API is now obsolete.

Merges the new BsonSerializationInfo by taking its properties and concatenating its ElementName.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
[ObsoleteAttribute("This method is no longer relevant because field names are now allowed to contain dots.")]
public BsonSerializationInfo Merge(
	BsonSerializationInfo newSerializationInfo
)

Parameters

newSerializationInfo
Type: MongoDB.Bson.SerializationBsonSerializationInfo
The new info.

Return Value

Type: BsonSerializationInfo
A new BsonSerializationInfo.
See Also