SyndicationFeedFormatter.WriteElementExtensions Method (XmlWriter, SyndicationFeed, String)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Writes the element extensions in the SyndicationFeed instance to the specified XmlWriter in the specified syndication version.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Protected Friend Shared Sub WriteElementExtensions ( _
writer As XmlWriter, _
feed As SyndicationFeed, _
version As String _
)
protected internal static void WriteElementExtensions(
XmlWriter writer,
SyndicationFeed feed,
string version
)
Parameters
- writer
Type: System.Xml.XmlWriter
The XmlWriter to write the element extensions to.
- feed
Type: System.ServiceModel.Syndication.SyndicationFeed
The SyndicationFeed instance that contains the element extensions to be written.
- version
Type: System.String
The syndication version the element 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.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.