SyndicationFeedFormatter.SetFeed Method

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

Associates a SyndicationFeed instance with the SyndicationFeedFormatter.

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

Syntax

'Declaration
Protected Friend Overridable Sub SetFeed ( _
    feed As SyndicationFeed _
)
protected internal virtual void SetFeed(
    SyndicationFeed feed
)

Remarks

This method is protected and cannot be called from user code. To associate a SyndicationFeed instance with a SyndicationFeedFormatter, either create a new SyndicationFeedFormatter instance and pass the constructor a SyndicationFeed instance, or load a SyndicationFeed instance into the SyndicationFeedFormatter by calling the ReadFrom(XmlReader) 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.