Click or drag to resize

ConventionRegistryRemove Method

Removes the conventions specified by the given name.

Namespace:  MongoDB.Bson.Serialization.Conventions
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public static void Remove(
	string name
)

Parameters

name
Type: SystemString
The name.
Remarks
Removing a convention allows the removal of the special __defaults__ conventions and the __attributes__ conventions for those who want to completely customize the experience.
See Also