Table of Contents

Constructor ObjectDiscriminatorConvention

Namespace
MongoDB.Bson.Serialization.Conventions
Assembly
MongoDB.Bson.dll

ObjectDiscriminatorConvention(string)

Initializes a new instance of the ObjectDiscriminatorConvention class.

public ObjectDiscriminatorConvention(string elementName)

Parameters

elementName string

The element name.