Export (0) Print
Expand All

SyndicationItemFormatter.WriteAttributeExtensions Method (XmlWriter, SyndicationCategory, String)

Writes the attribute extensions in the SyndicationCategory 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 WriteAttributeExtensions(
	XmlWriter writer,
	SyndicationCategory category,
	string version
)

Parameters

writer
Type: System.Xml.XmlWriter
The XmlWriter to write the extensions to.
category
Type: System.ServiceModel.Syndication.SyndicationCategory
The SyndicationCategory instance that contains the attribute extensions to be written.
version
Type: System.String
The syndication version to write the attribute extensions in.

To control how attribute extensions are written by the SyndicationCategory, derive a class from SyndicationCategory and override the WriteAttributeExtensions(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:
© 2014 Microsoft