SyndicationFeedFormatter.SetFeed(SyndicationFeed) Metodo

Definizione

Associa un'istanza di SyndicationFeed a SyndicationFeedFormatter.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)

Parametri

feed
SyndicationFeed

Elemento SyndicationFeed da associare a SyndicationFeedFormatter.The SyndicationFeed to associate with the SyndicationFeedFormatter.

Commenti

Il metodo è protetto e non può essere chiamato da codice utente.This method is protected and cannot be called from user code. Per associare un'istanza di SyndicationFeed a SyndicationFeedFormatter, creare una nuova istanza di SyndicationFeedFormatter e passare un'istanza di SyndicationFeed al costruttore oppure caricare un'istanza di SyndicationFeed in SyndicationFeedFormatter mediante la chiamata al metodo ReadFrom(XmlReader).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.

Si applica a