Editar

Partilhar via


Rss20FeedFormatter.ReadItem(XmlReader, SyndicationFeed) Method

Definition

Reads a syndication item from XmlReader instance using the SyndicationFeed instance.

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

Parameters

reader
XmlReader

The XmlReader to read from.

feed
SyndicationFeed

The SyndicationFeed used to create the new SyndicationItem instance.

Returns

A new SyndicationItem instance.

Remarks

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

Applies to