BsonSerializationArgsSerializeAsNominalType Property |
Gets or sets a value indicating whether to serialize the value as if it were an instance of the nominal type.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntaxpublic bool SerializeAsNominalType { get; set; }
Public Property SerializeAsNominalType As Boolean
Get
Set
member SerializeAsNominalType : bool with get, set
Property Value
Type:
Boolean
See Also