Partager via


Rss20FeedFormatter.WriteItem Method

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

Writes the specified SyndicationItem instance to the specified XmlWriter.

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

Syntax

'Declaration
Protected Overridable Sub WriteItem ( _
    writer As XmlWriter, _
    item As SyndicationItem, _
    feedBaseUri As Uri _
)
protected virtual void WriteItem(
    XmlWriter writer,
    SyndicationItem item,
    Uri feedBaseUri
)

Parameters

  • feedBaseUri
    Type: System.Uri
    The base URI for the feed.

Remarks

Override this method to change the way a SyndicationItem is written.

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.