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.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
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