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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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