BsonSerializationArgs Constructor |
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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