SyndicationItem::GetRss20Formatter Method (Boolean)
.NET Framework (current version)
Gets an Rss20FeedFormatter instance.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
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::Rss20ItemFormatter^An Rss20FeedFormatter instance.
RSS 2.0 allows elements and attributes that are not in its specification only if they are within a namespace. When the serializedExtensionsAsAtom parameter is true, the formatter automatically adds the "a10" namespace to all extensions; otherwise, the extensions are not serialized.
.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Available since 3.5
Silverlight
Available since 2.0
Show: