Επεξεργασία

Κοινή χρήση μέσω


SyndicationFeedFormatter.WriteAttributeExtensions Method

Definition

Writes attribute extensions.

Overloads

WriteAttributeExtensions(XmlWriter, SyndicationPerson, String)

Writes the attribute extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationLink, String)

Writes the attribute extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationCategory, String)

Writes the attribute extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationFeed, String)

Writes the attribute extensions in the SyndicationFeed instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationItem, String)

Writes the attribute extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationPerson, String)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs

Writes the attribute extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.

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)

Parameters

writer
XmlWriter

The XmlWriter to write the extensions to.

person
SyndicationPerson

The SyndicationPerson instance that contains the attribute extensions to be written.

version
String

The syndication version to write the attribute extensions in.

Remarks

To control how attribute extensions are written by the SyndicationPerson, derive a class from SyndicationPerson and override the WriteAttributeExtensions(XmlWriter, String) method.

Applies to

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs

Writes the attribute extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.

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)

Parameters

writer
XmlWriter

The XmlWriter to write the extensions to.

link
SyndicationLink

The SyndicationLink instance that contains the attribute extensions to be written.

version
String

The syndication version to write the attribute extensions in.

Remarks

To control how attribute extensions are written by the SyndicationLink, derive a class from SyndicationLink and override the WriteAttributeExtensions(XmlWriter, String) method.

Applies to

WriteAttributeExtensions(XmlWriter, SyndicationCategory, String)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs

Writes the attribute extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.

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)

Parameters

writer
XmlWriter

The XmlWriter to write the extensions to.

category
SyndicationCategory

The SyndicationCategory instance that contains the attribute extensions to be written.

version
String

The syndication version to write the attribute extensions in.

Remarks

To control how attribute extensions are written by the SyndicationCategory, derive a class from SyndicationCategory and override the WriteAttributeExtensions(XmlWriter, String) method.

Applies to

WriteAttributeExtensions(XmlWriter, SyndicationFeed, String)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs

Writes the attribute extensions in the SyndicationFeed instance to the specified XmlWriter in the specified syndication version.

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)

Parameters

writer
XmlWriter

The XmlWriter to write the extensions to.

feed
SyndicationFeed

The SyndicationFeed instance that contains the attribute extensions to be written.

version
String

The syndication version to write the attribute extensions in.

Remarks

To control how attribute extensions are written by the SyndicationFeed, derive a class from SyndicationFeed and override the WriteAttributeExtensions(XmlWriter, String) method.

Applies to

WriteAttributeExtensions(XmlWriter, SyndicationItem, String)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs

Writes the attribute extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.

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)

Parameters

writer
XmlWriter

The XmlWriter to write the extensions to.

item
SyndicationItem

The SyndicationItem instance that contains the attribute extensions to be written.

version
String

The syndication version to write the attribute extensions in.

Remarks

To control how attribute extensions are written by the SyndicationItem, derive a class from SyndicationItem and override the WriteAttributeExtensions(XmlWriter, String) method.

Applies to