Edit

Bagikan melalui


Atom10FeedFormatter.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

This method does not add the newly created SyndicationItem instance to the SyndicationFeed, because this is done by the caller of the method. This method provides an extensibility point for classes derived from Atom10FeedFormatter to customize how an Atom 1.0 entry is deserialized.

Applies to