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.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
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