SyndicationFeed.Load<TSyndicationFeed> Method (XmlReader)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Loads a SyndicationFeed-derived instance from the specified XmlReader.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Public Shared Function Load(Of TSyndicationFeed As {New, SyndicationFeed}) ( _
reader As XmlReader _
) As TSyndicationFeed
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.
Remarks
Use this method when you are loading a syndication item into a class derived from SyndicationFeed.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.