Rss20FeedFormatter Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new instance of the Rss20FeedFormatter class.

Namespace:   System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public Rss20FeedFormatter()

The following code shows how to create an Rss20FeedFormatter instance and read in an RSS syndication feed.

XmlReader rssReader = XmlReader.Create("http://contoso/Feeds/RSS/MyFeed");
Rss20FeedFormatter rssFormatter = new Rss20FeedFormatter();
rssFormatter.ReadFrom(rssReader);
rssReader.Close();

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: