語言

XmlSyndicationContent.WriteContentsTo(XmlWriter) 方法

定義

將 的內容 XmlSyndicationContent 寫入指定的 XmlWriter。

protected:
 override void WriteContentsTo(System::Xml::XmlWriter ^ writer);
protected override void WriteContentsTo(System.Xml.XmlWriter writer);
override this.WriteContentsTo : System.Xml.XmlWriter -> unit
Protected Overrides Sub WriteContentsTo (writer As XmlWriter)

參數

writer
XmlWriter

寫信的對象 XmlWriter 。

備註

此方法會寫入實例的內部 XML 內容 XmlSyndicationContent (例如,它不會寫出聯發內容的頂層起始與結束元素)。

適用於