BsonIgnoreExtraElementsAttribute Class |
Namespace: MongoDB.Bson.Serialization.Attributes
The BsonIgnoreExtraElementsAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| BsonIgnoreExtraElementsAttribute |
Initializes a new instance of the BsonIgnoreExtraElementsAttribute class.
| |
| BsonIgnoreExtraElementsAttribute(Boolean) |
Initializes a new instance of the BsonIgnoreExtraElementsAttribute class.
|
| Name | Description | |
|---|---|---|
| IgnoreExtraElements |
Gets whether extra elements should be ignored when this class is deserialized.
| |
| Inherited |
Gets whether extra elements should also be ignored when any class derived from this one is deserialized.
| |
| TypeId | (Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
| Apply |
Applies a modification to the class 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.) |