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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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