Atom10FeedFormatter.PreserveAttributeExtensions Property

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

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

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

Syntax

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

Property Value

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

Remarks

The default value of this property is true. Attribute extensions are XML attributes that are not defined in the Atom 1.0 specification. This property determines whether to write these attributes during serialization. Similarly, this property determines whether to preserve unknown attributes inside the AttributeExtensions 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.