Method | Description | |
---|---|---|
ApplyAttribute ( IBsonSerializer serializer, |
Apply an attribute to these serialization options and modify the options accordingly.
|
|
Clone ( ) : IBsonSerializationOptions |
Clones the serialization options.
|
|
DocumentSerializationOptions ( ) : System |
Initializes a new instance of the DocumentSerializationOptions class.
|
|
DocumentSerializationOptions ( bool serializeIdFirst ) : System |
Initializes a new instance of the DocumentSerializationOptions class.
|
public ApplyAttribute ( IBsonSerializer serializer, |
||
serializer | IBsonSerializer | The serializer that these serialization options are for. |
attribute | The serialization options attribute. | |
return | void |
public DocumentSerializationOptions ( ) : System | ||
return | System |
public DocumentSerializationOptions ( bool serializeIdFirst ) : System | ||
serializeIdFirst | bool | Whether to serialize the Id as the first element. |
return | System |