共用方式為


SyndicationItemFormatter.WriteElementExtensions 方法

定義

寫入項目延伸。

多載

WriteElementExtensions(XmlWriter, SyndicationCategory, String)

SyndicationCategory 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriter

WriteElementExtensions(XmlWriter, SyndicationItem, String)

SyndicationItem 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriter

WriteElementExtensions(XmlWriter, SyndicationLink, String)

SyndicationLink 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriter

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

SyndicationPerson 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriter

WriteElementExtensions(XmlWriter, SyndicationCategory, String)

來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs

SyndicationCategory 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriter

protected:
 void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationCategory ^ category, System::String ^ version);
protected void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationCategory category, string version);
member this.WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationCategory * string -> unit
Protected Sub WriteElementExtensions (writer As XmlWriter, category As SyndicationCategory, version As String)

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

category
SyndicationCategory

包含要寫入項目延伸的 SyndicationCategory 執行個體。

version
String

延伸已寫入其中的新聞訂閱版本。

備註

若要控制 SyndicationCategory 寫入項目延伸的方式,請從 SyndicationCategory 衍生類別,並且覆寫 WriteElementExtensions(XmlWriter, String) 方法。

適用於

WriteElementExtensions(XmlWriter, SyndicationItem, String)

來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs

SyndicationItem 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriter

protected:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationItem ^ item, System::String ^ version);
protected static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationItem item, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationItem * string -> unit
Protected Shared Sub WriteElementExtensions (writer As XmlWriter, item As SyndicationItem, version As String)

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

item
SyndicationItem

包含要寫入項目延伸的 SyndicationItem 執行個體。

version
String

延伸已寫入其中的新聞訂閱版本。

備註

若要控制 SyndicationItem 寫入項目延伸的方式,請從 SyndicationItem 衍生類別,並且覆寫 WriteElementExtensions(XmlWriter, String) 方法。

適用於

來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs

SyndicationLink 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriter

protected:
 void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationLink ^ link, System::String ^ version);
protected void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationLink link, string version);
member this.WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationLink * string -> unit
Protected Sub WriteElementExtensions (writer As XmlWriter, link As SyndicationLink, version As String)

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

link
SyndicationLink

包含要寫入項目延伸的 SyndicationLink 執行個體。

version
String

延伸已寫入其中的新聞訂閱版本。

備註

若要控制 SyndicationLink 寫入項目延伸的方式,請從 SyndicationLink 衍生類別,並且覆寫 WriteElementExtensions(XmlWriter, String) 方法。

適用於

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs
來源:
SyndicationItemFormatter.cs

SyndicationPerson 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriter

protected:
 void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationPerson ^ person, System::String ^ version);
protected void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationPerson person, string version);
member this.WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationPerson * string -> unit
Protected Sub WriteElementExtensions (writer As XmlWriter, person As SyndicationPerson, version As String)

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

person
SyndicationPerson

包含要寫入項目延伸的 SyndicationPerson 執行個體。

version
String

延伸已寫入其中的新聞訂閱版本。

備註

若要控制 SyndicationPerson 寫入項目延伸的方式,請從 SyndicationPerson 衍生類別,並且覆寫 WriteElementExtensions(XmlWriter, String) 方法。

適用於