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