Compartilhar via


Rss20FeedFormatter.ReadItems(XmlReader, SyndicationFeed, Boolean) Método

Definição

Lê uma coleção de instâncias de SyndicationItem do XmlReader especificado.

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)

Parâmetros

reader
XmlReader

O XmlReader para leitura.

feed
SyndicationFeed

A instância de SyndicationFeed a ser usada para criar as instâncias de SyndicationItem.

areAllItemsRead
Boolean

Um valor que especifica se todas as instâncias de SyndicationItem foram lidas da instância de XmlReader.

Retornos

IEnumerable<SyndicationItem>

Uma coleção de instâncias SyndicationItem.

Comentários

As instâncias recém-criadas SyndicationItem não são adicionadas à SyndicationFeed instância associada Rss20FeedFormatter .

Aplica-se a