BsonSerializationArgs.SerializeAsNominalType Property (original) (raw)

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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public bool SerializeAsNominalType { get; set; }

Public Property SerializeAsNominalType As Boolean Get Set

member SerializeAsNominalType : bool with get, set

Property Value

Type: Boolean

See Also

Reference