SyndicationFeedFormatter.SetFeed(SyndicationFeed) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Associates a SyndicationFeed instance with the SyndicationFeedFormatter.
protected public:
virtual void SetFeed(System::ServiceModel::Syndication::SyndicationFeed ^ feed);
protected internal virtual void SetFeed (System.ServiceModel.Syndication.SyndicationFeed feed);
abstract member SetFeed : System.ServiceModel.Syndication.SyndicationFeed -> unit
override this.SetFeed : System.ServiceModel.Syndication.SyndicationFeed -> unit
Protected Friend Overridable Sub SetFeed (feed As SyndicationFeed)
Parameters
- feed
- SyndicationFeed
The SyndicationFeed to associate with the SyndicationFeedFormatter.
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.
Applies to
.NET