This topic has not yet been rated - Rate this topic

Rss20FeedFormatter.PreserveAttributeExtensions Property

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

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.