共用方式為


Rss20FeedFormatter.ReadItems(XmlReader, SyndicationFeed, Boolean) 方法

定義

自指定的 SyndicationItem 讀入 XmlReader 執行個體集合。

protected:
 virtual System::Collections::Generic::IEnumerable<System::ServiceModel::Syndication::SyndicationItem ^> ^ ReadItems(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::SyndicationFeed ^ feed, [Runtime::InteropServices::Out] bool % areAllItemsRead);
protected virtual System.Collections.Generic.IEnumerable<System.ServiceModel.Syndication.SyndicationItem> ReadItems (System.Xml.XmlReader reader, System.ServiceModel.Syndication.SyndicationFeed feed, out bool areAllItemsRead);
abstract member ReadItems : System.Xml.XmlReader * System.ServiceModel.Syndication.SyndicationFeed * bool -> seq<System.ServiceModel.Syndication.SyndicationItem>
override this.ReadItems : System.Xml.XmlReader * System.ServiceModel.Syndication.SyndicationFeed * bool -> seq<System.ServiceModel.Syndication.SyndicationItem>
Protected Overridable Function ReadItems (reader As XmlReader, feed As SyndicationFeed, ByRef areAllItemsRead As Boolean) As IEnumerable(Of SyndicationItem)

參數

reader
XmlReader

要從其中讀取的 XmlReader

feed
SyndicationFeed

要用來建立 SyndicationFeed 執行個體的 SyndicationItem 執行個體。

areAllItemsRead
Boolean

此值可指定是否已從 SyndicationItem 執行個體讀取所有的 XmlReader 執行個體。

傳回

SyndicationItem 執行個體的集合。

備註

新建立的 SyndicationItem 執行個體不會新增至與 SyndicationFeed 執行個體關聯的 Rss20FeedFormatter

適用於