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)

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

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

适用于

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

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

适用于