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.

DataContractSerializer.IgnoreExtensionDataObject Property

Gets a value that specifies whether to ignore data supplied by an extension of the class when the class is being serialized or deserialized.

Namespace: System.Runtime.Serialization
Assembly: System.Runtime.Serialization (in system.runtime.serialization.dll)

public bool IgnoreExtensionDataObject { get; }
/** @property */
public boolean get_IgnoreExtensionDataObject ()

public function get IgnoreExtensionDataObject () : boolean

Not applicable.

Property Value

true to omit the extension data; otherwise, false.

The IgnoreExtensionDataObject property is used when the class to which a DataContractAttribute has been applied also implements the IExtensibleDataObject interface. In this case, the data added in a future version of the contract is ignored on read and write. For more information, see Forward Compatible Data Contracts.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

Show:
© 2014 Microsoft