共用方式為


Rss20FeedFormatter.WriteItem(XmlWriter, SyndicationItem, Uri) 方法

定義

將指定的 SyndicationItem 執行個體寫入指定的 XmlWriter

protected:
 virtual void WriteItem(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationItem ^ item, Uri ^ feedBaseUri);
protected virtual void WriteItem (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationItem item, Uri feedBaseUri);
abstract member WriteItem : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationItem * Uri -> unit
override this.WriteItem : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationItem * Uri -> unit
Protected Overridable Sub WriteItem (writer As XmlWriter, item As SyndicationItem, feedBaseUri As Uri)

參數

writer
XmlWriter

要寫入的目標 XmlWriter

item
SyndicationItem

要寫入的 SyndicationItem

feedBaseUri
Uri

摘要的基底 URI。

備註

覆寫這個方法,以變更寫入 SyndicationItem 的方式。

適用於