Επεξεργασία

Κοινή χρήση μέσω


NetDataContractSerializer.IgnoreExtensionDataObject Property

Definition

Gets a value that specifies whether data supplied by an extension of the object is ignored.

public:
 property bool IgnoreExtensionDataObject { bool get(); };
public bool IgnoreExtensionDataObject { get; }
member this.IgnoreExtensionDataObject : bool
Public ReadOnly Property IgnoreExtensionDataObject As Boolean

Property Value

true to ignore the data supplied by an extension of the type; otherwise, false.

Remarks

When implementing the IExtensibleDataObject, data from a future version of a type can be stored by the ExtensionDataObject. During a round trip (where an object is deserialized, altered, and serialized again), the extra data is stored and serialized again. For more information, see Serialization and Deserialization.

Applies to