Edit

Bagikan melalui


SyndicationFeed.GetRss20Formatter Method

Definition

Gets an Rss20FeedFormatter instance.

Overloads

GetRss20Formatter()

Gets an Rss20FeedFormatter instance.

GetRss20Formatter(Boolean)

Gets a new Rss20FeedFormatter instance.

GetRss20Formatter()

Source:
SyndicationFeed.cs
Source:
SyndicationFeed.cs
Source:
SyndicationFeed.cs
Source:
SyndicationFeed.cs

Gets an Rss20FeedFormatter instance.

public:
 System::ServiceModel::Syndication::Rss20FeedFormatter ^ GetRss20Formatter();
public System.ServiceModel.Syndication.Rss20FeedFormatter GetRss20Formatter ();
member this.GetRss20Formatter : unit -> System.ServiceModel.Syndication.Rss20FeedFormatter
Public Function GetRss20Formatter () As Rss20FeedFormatter

Returns

An Rss20FeedFormatter instance.

Applies to

GetRss20Formatter(Boolean)

Source:
SyndicationFeed.cs
Source:
SyndicationFeed.cs
Source:
SyndicationFeed.cs
Source:
SyndicationFeed.cs

Gets a new Rss20FeedFormatter instance.

public:
 System::ServiceModel::Syndication::Rss20FeedFormatter ^ GetRss20Formatter(bool serializeExtensionsAsAtom);
public System.ServiceModel.Syndication.Rss20FeedFormatter GetRss20Formatter (bool serializeExtensionsAsAtom);
member this.GetRss20Formatter : bool -> System.ServiceModel.Syndication.Rss20FeedFormatter
Public Function GetRss20Formatter (serializeExtensionsAsAtom As Boolean) As Rss20FeedFormatter

Parameters

serializeExtensionsAsAtom
Boolean

A value that specifies whether to serialize element and attribute extensions with an Atom 1.0 namespace.

Returns

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.

Applies to