Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IgnoreExtensionDataObject Property

DataContractSerializerElement.IgnoreExtensionDataObject Property

Gets or sets 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.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("ignoreExtensionDataObject", DefaultValue = false)]
public bool IgnoreExtensionDataObject { get; set; }

Property Value

Type: System.Boolean
true to omit the extension data; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft