Rss20FeedFormatter.PreserveAttributeExtensions Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public bool PreserveAttributeExtensions { get; set; }

Property Value

Type: System.Boolean

A value that specifies whether to preserve attribute extensions during serialization.

The default value of this property is true. Attribute extensions are XML attributes that are not defined in the RSS 2.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 RSS 2.0 feed.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: