共用方式為


SyndicationFeedFormatter.WriteElementExtensions 方法

定義

寫入項目延伸。

多載

WriteElementExtensions(XmlWriter, SyndicationLink, String)

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

WriteElementExtensions(XmlWriter, SyndicationItem, String)

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

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

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

WriteElementExtensions(XmlWriter, SyndicationCategory, String)

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

WriteElementExtensions(XmlWriter, SyndicationFeed, String)

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

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

protected public:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationLink ^ link, System::String ^ version);
protected internal static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationLink link, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationLink * string -> unit
Protected Friend Shared 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, SyndicationItem, String)

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

protected public:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationItem ^ item, System::String ^ version);
protected internal 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 Friend 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) 方法。

適用於

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

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

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

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

person
SyndicationPerson

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

version
String

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

備註

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

適用於

WriteElementExtensions(XmlWriter, SyndicationCategory, String)

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

protected public:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationCategory ^ category, System::String ^ version);
protected internal static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationCategory category, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationCategory * string -> unit
Protected Friend Shared 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, SyndicationFeed, String)

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

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

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

feed
SyndicationFeed

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

version
String

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

備註

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

適用於