DataContractSerializer.IgnoreExtensionDataObject Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

Syntax

Public ReadOnly Property IgnoreExtensionDataObject As Boolean
public bool IgnoreExtensionDataObject { get; }

Property Value

Type: System..::.Boolean
true to omit the extension data; otherwise, false. The default value is true.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

DataContractSerializer Class

System.Runtime.Serialization Namespace

IgnoreExtensionDataObject

DataContractAttribute