Rss20FeedFormatter.ReadItems Method

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

Reads in a collection of SyndicationItem instances from the specified XmlReader.

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

Syntax

'Declaration
Protected Overridable Function ReadItems ( _
    reader As XmlReader, _
    feed As SyndicationFeed, _
    <OutAttribute> ByRef areAllItemsRead As Boolean _
) As IEnumerable(Of SyndicationItem)
protected virtual IEnumerable<SyndicationItem> ReadItems(
    XmlReader reader,
    SyndicationFeed feed,
    out bool areAllItemsRead
)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<SyndicationItem>
A collection of SyndicationItem instances.

Remarks

The newly created SyndicationItem instances are not added to the SyndicationFeed associated with the Rss20FeedFormatter instance.

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.