BsonIgnoreIfNullAttribute Class |
Namespace: MongoDB.Bson.Serialization.Attributes
The BsonIgnoreIfNullAttribute type exposes the following members.
Name | Description | |
---|---|---|
BsonIgnoreIfNullAttribute |
Initializes a new instance of the BsonIgnoreIfNullAttribute class.
| |
BsonIgnoreIfNullAttribute(Boolean) |
Initializes a new instance of the BsonIgnoreIfNullAttribute class.
|
Name | Description | |
---|---|---|
TypeId | (Inherited from Attribute.) | |
Value |
Gets whether a field or property equal to null should be ignored when serializing this class.
|
Name | Description | |
---|---|---|
Apply |
Applies a modification to the member map.
| |
Equals | (Inherited from Attribute.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Attribute.) | |
GetType | (Inherited from Object.) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |