Aracılığıyla paylaş


Rss20FeedFormatter.ReadItems(XmlReader, SyndicationFeed, Boolean) Yöntem

Tanım

Belirtilen XmlReaderdosyasından SyndicationItem bir örnek koleksiyonunda okur.

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)

Parametreler

reader
XmlReader

XmlReader Okunacak kaynak.

feed
SyndicationFeed

Örnekleri SyndicationFeed oluşturmak SyndicationItem için kullanılacak örnek.

areAllItemsRead
Boolean

Tüm örneklerin örnekten SyndicationItem okunup okunmadığını XmlReader belirten bir değer.

Döndürülenler

Örnek koleksiyonu SyndicationItem .

Açıklamalar

Yeni oluşturulan SyndicationItem örnekler, örnekle ilişkilendirilmiş olan SyndicationFeed öğesine Rss20FeedFormatter eklenmez.

Şunlara uygulanır