BsonDiscriminatorAttribute Properties |
The BsonDiscriminatorAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| Discriminator |
Gets the discriminator.
| |
| Required |
Gets or sets whether the discriminator is required.
| |
| RootClass |
Gets or sets whether this is a root class.
| |
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) |