共用方式為


Rss20FeedFormatter.WriteItems 方法

定義

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)

參數

writer
XmlWriter

要寫入的目標 XmlWriter

items
IEnumerable<SyndicationItem>

要寫入的 SyndicationItem 執行個體集合。

feedBaseUri
Uri

摘要的基底 URI。

備註

覆寫此方法以變更 SyndicationItem 物件集合的方式。

適用於