Export (0) Print
Expand All

Rss20FeedFormatter.PreserveAttributeExtensions Property

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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft