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