共用方式為


SyndicationFeedFormatter.WriteAttributeExtensions 方法

定義

寫入屬性延伸。

多載

WriteAttributeExtensions(XmlWriter, SyndicationPerson, String)

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

WriteAttributeExtensions(XmlWriter, SyndicationLink, String)

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

WriteAttributeExtensions(XmlWriter, SyndicationCategory, String)

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

WriteAttributeExtensions(XmlWriter, SyndicationFeed, String)

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

WriteAttributeExtensions(XmlWriter, SyndicationItem, String)

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

WriteAttributeExtensions(XmlWriter, SyndicationPerson, String)

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

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

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

適用於

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

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

protected public:
 static void WriteAttributeExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationLink ^ link, System::String ^ version);
protected internal 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 Friend 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, SyndicationCategory, String)

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

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

protected public:
 static void WriteAttributeExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationCategory ^ category, System::String ^ version);
protected internal 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 Friend 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, SyndicationFeed, String)

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

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

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

參數

writer
XmlWriter

要寫入延伸的 XmlWriter

feed
SyndicationFeed

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

version
String

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

備註

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

適用於

WriteAttributeExtensions(XmlWriter, SyndicationItem, String)

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

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

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

適用於