SyndicationFeedFormatter.WriteAttributeExtensions Method (XmlWriter, SyndicationFeed, String)

 

Writes the attribute extensions in the SyndicationFeed instance to the specified XmlWriter in the specified syndication version.

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

protected internal static void WriteAttributeExtensions(
	XmlWriter writer,
	SyndicationFeed feed,
	string version
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter to write the extensions to.

feed
Type: System.ServiceModel.Syndication.SyndicationFeed

The SyndicationFeed 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 SyndicationFeed, derive a class from SyndicationFeed and override the WriteAttributeExtensions(XmlWriter, String) method.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: