Επεξεργασία

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


SyndicationFeedFormatter.WriteElementExtensions Method

Definition

Write element extensions.

Overloads

WriteElementExtensions(XmlWriter, SyndicationLink, String)

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

WriteElementExtensions(XmlWriter, SyndicationItem, String)

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

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

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

WriteElementExtensions(XmlWriter, SyndicationCategory, String)

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

WriteElementExtensions(XmlWriter, SyndicationFeed, String)

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

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

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

protected public:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationLink ^ link, System::String ^ version);
protected internal static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationLink link, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationLink * string -> unit
Protected Friend Shared Sub WriteElementExtensions (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 element extensions to be written.

version
String

The syndication version the extensions are written in.

Remarks

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

Applies to

WriteElementExtensions(XmlWriter, SyndicationItem, String)

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

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

protected public:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationItem ^ item, System::String ^ version);
protected internal static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationItem item, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationItem * string -> unit
Protected Friend Shared Sub WriteElementExtensions (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 element extensions to be written.

version
String

The syndication version the extensions are written in.

Remarks

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

Applies to

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

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

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

protected public:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationPerson ^ person, System::String ^ version);
protected internal static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationPerson person, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationPerson * string -> unit
Protected Friend Shared Sub WriteElementExtensions (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 element extensions to be written.

version
String

The syndication version the extensions are written in.

Remarks

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

Applies to

WriteElementExtensions(XmlWriter, SyndicationCategory, String)

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

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

protected public:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationCategory ^ category, System::String ^ version);
protected internal static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationCategory category, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationCategory * string -> unit
Protected Friend Shared Sub WriteElementExtensions (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 element extensions to be written.

version
String

The syndication version the extensions are written in.

Remarks

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

Applies to

WriteElementExtensions(XmlWriter, SyndicationFeed, String)

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

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

protected public:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationFeed ^ feed, System::String ^ version);
protected internal static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationFeed feed, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationFeed * string -> unit
Protected Friend Shared Sub WriteElementExtensions (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 element extensions to be written.

version
String

The syndication version the extensions are written in.

Remarks

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

Applies to