共用方式為


SyndicationItemFormatter.WriteAttributeExtensions 方法

定義

寫入屬性延伸。

多載

WriteAttributeExtensions(XmlWriter, SyndicationCategory, String)

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

WriteAttributeExtensions(XmlWriter, SyndicationItem, String)

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

WriteAttributeExtensions(XmlWriter, SyndicationLink, String)

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

WriteAttributeExtensions(XmlWriter, SyndicationPerson, String)

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

WriteAttributeExtensions(XmlWriter, SyndicationCategory, String)

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

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

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

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

category
SyndicationCategory

包含要寫入屬性延伸的 SyndicationCategory 執行個體。

version
String

要將屬性延伸寫入其中的新聞訂閱版本。

備註

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

適用於

WriteAttributeExtensions(XmlWriter, SyndicationItem, String)

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

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

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

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

item
SyndicationItem

包含要寫入屬性延伸的 SyndicationItem 執行個體。

version
String

要將屬性延伸寫入其中的新聞訂閱版本。

備註

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

適用於

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

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

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

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

link
SyndicationLink

包含要寫入屬性延伸的 SyndicationLink 執行個體。

version
String

要將屬性延伸寫入其中的新聞訂閱版本。

備註

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

適用於

WriteAttributeExtensions(XmlWriter, SyndicationPerson, String)

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

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

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

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

person
SyndicationPerson

包含要寫入屬性延伸的 SyndicationPerson 執行個體。

version
String

要將屬性延伸寫入其中的新聞訂閱版本。

備註

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

適用於