BsonSerializationArgs Constructor |
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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