0 out of 2 rated this helpful - Rate this topic

SyndicationFeed.Load Method (XmlReader)

Loads a syndication feed from the specified XML reader.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)
public static SyndicationFeed Load(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader
The XmlReader to load the feed from.

Return Value

Type: System.ServiceModel.Syndication.SyndicationFeed
A SyndicationFeed that contains the loaded contents.

The following example demonstrates how to call this method.

XmlReader reader = XmlReader.Create("http://localhost/feeds/serializedFeed.xml");
SyndicationFeed feed = SyndicationFeed.Load(reader);


Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ