Rss20FeedFormatter.WriteItems 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 SyndicationItem 執行個體集合寫入指定的 XmlWriter。
protected:
virtual void WriteItems(System::Xml::XmlWriter ^ writer, System::Collections::Generic::IEnumerable<System::ServiceModel::Syndication::SyndicationItem ^> ^ items, Uri ^ feedBaseUri);
protected virtual void WriteItems (System.Xml.XmlWriter writer, System.Collections.Generic.IEnumerable<System.ServiceModel.Syndication.SyndicationItem> items, Uri feedBaseUri);
abstract member WriteItems : System.Xml.XmlWriter * seq<System.ServiceModel.Syndication.SyndicationItem> * Uri -> unit
override this.WriteItems : System.Xml.XmlWriter * seq<System.ServiceModel.Syndication.SyndicationItem> * Uri -> unit
Protected Overridable Sub WriteItems (writer As XmlWriter, items As IEnumerable(Of SyndicationItem), feedBaseUri As Uri)
參數
- items
- IEnumerable<SyndicationItem>
要寫入的 SyndicationItem 執行個體集合。
- feedBaseUri
- Uri
摘要的基底 URI。
備註
覆寫此方法以變更 SyndicationItem 物件集合的方式。