SyndicationItemFormatter.WriteElementExtensions Method

Definition

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

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, string version);

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

.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)

WriteElementExtensions(XmlWriter, SyndicationItem, String)

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, string version);

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

.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, string version);

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

.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)

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

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, string version);

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

.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)