Partager via


SyndicationItem.Load<TSyndicationItem> Method (XmlReader)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Loads a SyndicationItem derived object from the specified XmlReader.

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

Syntax

'Declaration
Public Shared Function Load(Of TSyndicationItem As {New, SyndicationItem}) ( _
    reader As XmlReader _
) As TSyndicationItem
public static TSyndicationItem Load<TSyndicationItem>(
    XmlReader reader
)
where TSyndicationItem : new(), SyndicationItem

Type Parameters

Parameters

Return Value

Type: TSyndicationItem
A SyndicationItem derived object that contains the syndication item.

Remarks

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

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.