BsonClassMapSetDiscriminator Method |
Sets the discriminator.
Namespace: MongoDB.Bson.SerializationAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
Syntax public void SetDiscriminator(
string discriminator
)
Public Sub SetDiscriminator (
discriminator As String
)
member SetDiscriminator :
discriminator : string -> unit
Parameters
- discriminator
- Type: SystemString
The discriminator.
See Also