SyndicationFeedFormatter.SetFeed Method (SyndicationFeed)

 

Associates a SyndicationFeed instance with the SyndicationFeedFormatter.

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

protected internal virtual void SetFeed(
	SyndicationFeed feed
)

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.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: