SyndicationItem::Load<TSyndicationItem> Method (XmlReader^)

 

Loads a SyndicationItem derived object from the specified XmlReader.

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

public:
generic<typename TSyndicationItem>
where TSyndicationItem : gcnew(), SyndicationItem
static TSyndicationItem Load(
	XmlReader^ reader
)

Parameters

reader
Type: System.Xml::XmlReader^

The XmlReader to read from.

Return Value

Type: TSyndicationItem

A SyndicationItem derived object that contains the syndication item.

Type Parameters

TSyndicationItem

The SyndicationItem-derived class to load.

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

The following code shows how to load a syndication item of the specified type from an XML reader.

No code example is currently available or this language may not be supported.

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