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 中。

适用于