BsonSerializationArgs Constructor |
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax public BsonSerializationArgs(
Type nominalType,
bool serializeAsNominalType,
bool serializeIdFirst
)
Public Sub New (
nominalType As Type,
serializeAsNominalType As Boolean,
serializeIdFirst As Boolean
)
new :
nominalType : Type *
serializeAsNominalType : bool *
serializeIdFirst : bool -> BsonSerializationArgs
Parameters
- nominalType
- Type: SystemType
The nominal type. - serializeAsNominalType
- Type: SystemBoolean
Whether to serialize as the nominal type. - serializeIdFirst
- Type: SystemBoolean
Whether to serialize the id first.
See Also