Partager via


SyndicationFeedFormatter Constructor (SyndicationFeed)

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

Creates a new instance of the SyndicationFeedFormatter class with the specified SyndicationFeed instance.

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

Syntax

'Declaration
Protected Sub New ( _
    feedToWrite As SyndicationFeed _
)
protected SyndicationFeedFormatter(
    SyndicationFeed feedToWrite
)

Parameters

Remarks

A SyndicationFeedFormatter must have a SyndicationFeed associated with it. The SyndicationFeedFormatter can then write out the SyndicationFeed to an XmlReader. The only way to associate a SyndicationFeed with a SyndicationFeedFormatter is by using this constructor.

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.