BsonClassMapDiscriminatorIsRequired Property |
Gets whether a discriminator is required when serializing this class.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax public bool DiscriminatorIsRequired { get; }
Public ReadOnly Property DiscriminatorIsRequired As Boolean
Get
member DiscriminatorIsRequired : bool with get
Property Value
Type:
BooleanSee Also