SyndicationFeed.GetRss20Formatter Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar en Rss20FeedFormatter instans.
Överlagringar
| Name | Description |
|---|---|
| GetRss20Formatter() |
Hämtar en Rss20FeedFormatter instans. |
| GetRss20Formatter(Boolean) |
Hämtar en ny Rss20FeedFormatter instans. |
GetRss20Formatter()
Hämtar en Rss20FeedFormatter instans.
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
Returer
En Rss20FeedFormatter instans.
Gäller för
GetRss20Formatter(Boolean)
Hämtar en ny Rss20FeedFormatter instans.
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
Parametrar
- serializeExtensionsAsAtom
- Boolean
Ett värde som anger om element- och attributtillägg ska serialiseras med ett Atom 1.0-namnområde.
Returer
En Rss20FeedFormatter instans.
Kommentarer
RSS 2.0-specifikationen tillåter element och attribut som inte anges i specifikationen endast om de finns inom ett namnområde. När parametern serializedExtensionsAsAtom är truelägger a10 formateraren automatiskt till namnområdeskvalificeraren till alla tillägg. Annars serialiseras inte tilläggen.