Rss20ItemFormatter.PreserveAttributeExtensions Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets or 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 attribute extensions inside the AttributeExtensions properties in the SyndicationItem instance when deserializing an RSS 2.0 item.
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.