Atom10FeedFormatter.PreserveElementExtensions Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets and sets a value that specifies whether to preserve element extensions during serialization.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)

Syntax

'Declaration
Public Property PreserveElementExtensions As Boolean
public bool PreserveElementExtensions { get; set; }

Property Value

Type: System.Boolean
A value that specifies whether to preserve element extensions during serialization.

Remarks

The default value of this property is true. Element extensions are XML elements that are not defined in the Atom 1.0 specification. This property determines whether to write these elements during serialization. Similarly, this property determines whether to preserve unknown elements inside the ElementExtensions properties in the SyndicationFeed instance when deserializing an Atom1.0 feed.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.