SyndicationItemFormatter.WriteElementExtensions Method (XmlWriter, SyndicationItem, String)

Writes the element extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)

protected static void WriteElementExtensions(
	XmlWriter writer,
	SyndicationItem item,
	string version
)

Parameters

writer
Type: System.Xml.XmlWriter
The XmlWriter to write the extensions to.
item
Type: System.ServiceModel.Syndication.SyndicationItem
The SyndicationItem instance that contains the element extensions to be written.
version
Type: System.String
The syndication version the extensions are written in.

To control how element extensions are written by the SyndicationItem, derive a class from SyndicationItem 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: