SyndicationFeedFormatter::ReadFrom Method (XmlReader^)

 

Reads in a SyndicationFeed from the specified XmlReader.

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

public:
virtual void ReadFrom(
	XmlReader^ reader
) abstract

Parameters

reader
Type: System.Xml::XmlReader^

The XmlReader to read from.

Exception Condition
XmlException

Invalid XML encountered during read.

Creates a new SyndicationFeed, associates it with the SyndicationFeedFormatter and reads the feed into the SyndicationFeed instance.

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