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 的方式。

适用于