Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataContractJsonSerializer::IgnoreExtensionDataObject Property

 

Gets a value that specifies whether unknown data is ignored on deserialization and whether the IExtensibleDataObject interface is ignored on serialization.

Namespace:   System.Runtime.Serialization.Json
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public:
property bool IgnoreExtensionDataObject {
	bool get();
}

Property Value

Type: System::Boolean

true 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
Return to top
Show:
© 2017 Microsoft