Rss20FeedFormatter.ReadItems(XmlReader, SyndicationFeed, Boolean) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Lê numa coleção de SyndicationItem instâncias do especificado XmlReader.
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
- feed
- SyndicationFeed
A SyndicationFeed instância a usar para criar as SyndicationItem instâncias.
- areAllItemsRead
- Boolean
Um valor que especifica se todas as SyndicationItem instâncias foram lidas da XmlReader instância.
Devoluções
Uma coleção de SyndicationItem instâncias.
Observações
As instâncias recém-criadas SyndicationItem não são adicionadas ao SyndicationFeed associado à Rss20FeedFormatter instância.