Edytuj

Udostępnij za pośrednictwem


DataContractSerializerElement.IgnoreExtensionDataObject Property

Definition

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.

public:
 property bool IgnoreExtensionDataObject { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("ignoreExtensionDataObject", DefaultValue=false)]
public bool IgnoreExtensionDataObject { get; set; }
[<System.Configuration.ConfigurationProperty("ignoreExtensionDataObject", DefaultValue=false)>]
member this.IgnoreExtensionDataObject : bool with get, set
Public Property IgnoreExtensionDataObject As Boolean

Property Value

true to omit the extension data; otherwise, false.

Attributes

Applies to