Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
MongoDB
Bson
Serialization
Conventions
IgnoreIfNullConvention
IgnoreIfNullConvention
MongoDB.Bson.Serialization.Conventions.IgnoreIfNullConvention.IgnoreIfNullConvention C# (CSharp) Method
IgnoreIfNullConvention Class Documentation
显示文件
Open project: CloudMetal/mongo-csharp-driver
IgnoreIfNullConvention()
public
method
Initializes a new instance of the
IgnoreIfNullConvention
class.
public
IgnoreIfNullConvention
(
bool
ignoreIfNull
)
ignoreIfNull
bool
Whether to ignore nulls during serialization.
public IgnoreIfNullConvention(bool ignoreIfNull) { _ignoreIfNull = ignoreIfNull; }
IgnoreIfNullConvention
Apply
IgnoreIfNullConvention