Метод | Описание | |
---|---|---|
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. | |
Результат | void |
public Clone ( ) : IBsonSerializationOptions | ||
Результат | IBsonSerializationOptions |
public DocumentSerializationOptions ( ) : System | ||
Результат | System |
public DocumentSerializationOptions ( bool serializeIdFirst ) : System | ||
serializeIdFirst | bool | Whether to serialize the Id as the first element. |
Результат | System |