SyndicationItemFormatter.WriteElementExtensions Method
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.
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. |
- 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
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- 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
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- 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
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- 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.
Applies to
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: