Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SyndicationFeedFormatter.WriteElementExtensions Method (XmlWriter, SyndicationFeed, String)

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)

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.

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

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft