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)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
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) 方法。

适用于

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
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)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
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)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
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)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
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) 方法。

适用于