SyndicationFeed.GetRss20Formatter Method (Boolean)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets a new Rss20FeedFormatter instance.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Public Function GetRss20Formatter ( _
serializeExtensionsAsAtom As Boolean _
) As Rss20FeedFormatter
public Rss20FeedFormatter GetRss20Formatter(
bool serializeExtensionsAsAtom
)
Parameters
- serializeExtensionsAsAtom
Type: System.Boolean
A value that specifies whether to serialize element and attribute extensions with an Atom 1.0 namespace.
Return Value
Type: System.ServiceModel.Syndication.Rss20FeedFormatter
An Rss20FeedFormatter instance.
Remarks
The RSS 2.0 specification allows elements and attributes that are not specified in its specification only if they are within a namespace. When the serializedExtensionsAsAtom parameter is true, the formatter automatically adds the a10 namespace qualifier to all extensions; otherwise, the extensions are not serialized.
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.