DataContractJsonSerializer::IgnoreExtensionDataObject Property
.NET Framework (current version)
Gets a value that specifies whether unknown data is ignored on deserialization and whether the IExtensibleDataObject interface is ignored on serialization.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Property Value
Type: System::Booleantrue to ignore unknown data and IExtensibleDataObject; otherwise, false.
The IgnoreExtensionDataObject property affects types to which a DataContractAttribute attribute has been applied and that also implement the IExtensibleDataObject interface. In this case when IExtensibleDataObject is true, data added in future versions of the contract is ignored on read and write. For more information, seeForward-Compatible Data Contracts.
.NET Framework
Available since 3.5
Available since 3.5
Show: