NetDataContractSerializer.IgnoreExtensionDataObject Property


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

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

Public ReadOnly Property IgnoreExtensionDataObject As Boolean

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 3.0
Return to top