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)

	DefaultValue = false)]
public bool IgnoreExtensionDataObject { get; set; }

Property Value

Type: System.Boolean

true to omit the extension data; otherwise, false.

.NET Framework
Available since 3.0
Return to top