次の方法で共有


SyndicationItemFormatter.WriteElementExtensions Method (XmlWriter, SyndicationCategory, String)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Writes the element 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)

Syntax

'Declaration
Protected Sub WriteElementExtensions ( _
    writer As XmlWriter, _
    category As SyndicationCategory, _
    version As String _
)
protected void WriteElementExtensions(
    XmlWriter writer,
    SyndicationCategory category,
    string version
)

Parameters

  • version
    Type: System.String
    The syndication version the extensions are written in.

Remarks

To control how element extensions are written by the SyndicationCategory, derive a class from SyndicationCategory and override the WriteElementExtensions(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.