SyndicationItemFormatter.WriteElementExtensions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write element extensions.
Overloads
WriteElementExtensions(XmlWriter, SyndicationCategory, String) |
Writes the element extensions in the SyndicationCategory 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, SyndicationLink, String) |
Writes the element extensions in the SyndicationLink 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)
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
Writes the element extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.
protected:
void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationCategory ^ category, System::String ^ version);
protected void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationCategory category, string version);
member this.WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationCategory * string -> unit
Protected Sub WriteElementExtensions (writer As XmlWriter, category As SyndicationCategory, version As String)
Parameters
- 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, SyndicationItem, String)
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
Writes the element extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.
protected:
static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationItem ^ item, System::String ^ version);
protected 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 Shared Sub WriteElementExtensions (writer As XmlWriter, item As SyndicationItem, version As String)
Parameters
- 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, SyndicationLink, String)
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
Writes the element extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.
protected:
void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationLink ^ link, System::String ^ version);
protected void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationLink link, string version);
member this.WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationLink * string -> unit
Protected Sub WriteElementExtensions (writer As XmlWriter, link As SyndicationLink, version As String)
Parameters
- 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, SyndicationPerson, String)
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
Writes the element extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.
protected:
void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::SyndicationPerson ^ person, System::String ^ version);
protected void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.SyndicationPerson person, string version);
member this.WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.SyndicationPerson * string -> unit
Protected Sub WriteElementExtensions (writer As XmlWriter, person As SyndicationPerson, version As String)
Parameters
- 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.