Rss20FeedFormatter.ReadItems Method (XmlReader, SyndicationFeed, Boolean)

 

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

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

protected virtual IEnumerable<SyndicationItem> ReadItems(
	XmlReader reader,
	SyndicationFeed feed,
	out bool areAllItemsRead
)

Parameters

reader
Type: System.Xml.XmlReader

The XmlReader to read from.

feed
Type: System.ServiceModel.Syndication.SyndicationFeed

The SyndicationFeed instance to use to create the SyndicationItem instances.

areAllItemsRead
Type: System.Boolean

A value that specifies whether all of the SyndicationItem instances have been read from the XmlReader instance.

Return Value

Type: System.Collections.Generic.IEnumerable<SyndicationItem>

A collection of SyndicationItem instances.

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

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