[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Loads a SyndicationFeed-derived instance from the specified XmlReader.
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
public: generic<typename TSyndicationFeed> where TSyndicationFeed : gcnew(), SyndicationFeed static TSyndicationFeed Load( XmlReader^ reader )
static member Load : reader:XmlReader -> 'TSyndicationFeed when 'TSyndicationFeed : new() and SyndicationFeed
The syndication feed type.
The XmlReader to read from.
Invalid XML encountered during read.
Use this method when you are loading a syndication item into a class derived from SyndicationFeed.
The following code shows how to load a syndication feed from an XmlReader instance.
Dim reader As XmlReader = XmlReader.Create("http:'localhost/feeds/serializedFeed.xml") Dim feed As SyndicationFeed = SyndicationFeed.Load(reader)
XmlReader reader = XmlReader.Create("http://localhost/feeds/serializedFeed.xml"); SyndicationFeed feed = SyndicationFeed.Load(reader);
Windows 8 Consumer Preview, Windows Server 8 Beta, Windows 7, Windows Server 2008 SP2, Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.