共用方式為


Rss20FeedFormatter.ReadItem(XmlReader, SyndicationFeed) 方法

定義

使用 XmlReader 執行個體從 SyndicationFeed 執行個體讀取新聞訂閱項目。

protected:
 virtual System::ServiceModel::Syndication::SyndicationItem ^ ReadItem(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::SyndicationFeed ^ feed);
protected virtual System.ServiceModel.Syndication.SyndicationItem ReadItem (System.Xml.XmlReader reader, System.ServiceModel.Syndication.SyndicationFeed feed);
abstract member ReadItem : System.Xml.XmlReader * System.ServiceModel.Syndication.SyndicationFeed -> System.ServiceModel.Syndication.SyndicationItem
override this.ReadItem : System.Xml.XmlReader * System.ServiceModel.Syndication.SyndicationFeed -> System.ServiceModel.Syndication.SyndicationItem
Protected Overridable Function ReadItem (reader As XmlReader, feed As SyndicationFeed) As SyndicationItem

參數

reader
XmlReader

要從其中讀取的 XmlReader

feed
SyndicationFeed

用來建立新 SyndicationFeed 執行個體的 SyndicationItem

傳回

新的 SyndicationItem 執行個體。

備註

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

適用於