Rss20FeedFormatter.ReadItems(XmlReader, SyndicationFeed, Boolean) Method

Definition

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

C#
protected virtual System.Collections.Generic.IEnumerable<System.ServiceModel.Syndication.SyndicationItem> ReadItems(System.Xml.XmlReader reader, System.ServiceModel.Syndication.SyndicationFeed feed, out bool areAllItemsRead);

Parameters

reader
XmlReader

The XmlReader to read from.

feed
SyndicationFeed

The SyndicationFeed instance to use to create the SyndicationItem instances.

areAllItemsRead
Boolean

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

Returns

A collection of SyndicationItem instances.

Remarks

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

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)