Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SyndicationFeed.Load<TSyndicationFeed> Method (XmlReader)

Loads a SyndicationFeed-derived instance from the specified XmlReader.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
public static TSyndicationFeed Load<TSyndicationFeed>(
	XmlReader reader
)
where TSyndicationFeed : new(), SyndicationFeed

Type Parameters

TSyndicationFeed

The syndication feed type.

Parameters

reader
Type: System.Xml.XmlReader
The XmlReader to read from.

Return Value

Type: TSyndicationFeed
A SyndicationFeed-derived instance that contains the feed.
ExceptionCondition
XmlException

Invalid XML encountered during read.

Use this method when you are loading a syndication item into a class derived from SyndicationFeed.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.