ScalarDiscriminatorConvention Constructor |
Initializes a new instance of the ScalarDiscriminatorConvention class.
Namespace:
MongoDB.Bson.Serialization.Conventions
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax public ScalarDiscriminatorConvention(
string elementName
)
Public Sub New (
elementName As String
)
new :
elementName : string -> ScalarDiscriminatorConvention
Parameters
- elementName
- Type: SystemString
The element name.
See Also