다음을 통해 공유


Rss20FeedFormatter.ReadItems(XmlReader, SyndicationFeed, Boolean) 메서드

정의

지정된 SyndicationItem 로부터 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)

매개 변수

reader
XmlReader

읽을 소스 XmlReader입니다.

feed
SyndicationFeed

SyndicationFeed 인스턴스를 만드는 데 사용할 SyndicationItem 인스턴스입니다.

areAllItemsRead
Boolean

모든 SyndicationItem 인스턴스를 XmlReader 인스턴스로부터 읽었는지 여부를 나타내는 값입니다.

반환

IEnumerable<SyndicationItem>

SyndicationItem 인스턴스의 컬렉션입니다.

설명

새로 만든 SyndicationItem 인스턴스는 인스턴스와 Rss20FeedFormatter 연결된 인스턴스에 SyndicationFeed 추가되지 않습니다.

적용 대상