SyndicationItemFormatter.WriteAttributeExtensions Method (XmlWriter, SyndicationItem, String)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Writes the attribute 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)
Syntax
'Declaration
Protected Shared Sub WriteAttributeExtensions ( _
writer As XmlWriter, _
item As SyndicationItem, _
version As String _
)
protected static void WriteAttributeExtensions(
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 attribute extensions to be written.
- version
Type: System.String
The syndication version to write the attribute extensions in.
Remarks
To control how attribute extensions are written by the SyndicationItem, derive a class from SyndicationItem and override the WriteAttributeExtensions(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.