SyndicationFeedFormatter.SetFeed(SyndicationFeed) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Associe une instance SyndicationFeed à 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)
Paramètres
- feed
- SyndicationFeed
SyndicationFeed à associer à SyndicationFeedFormatter.
Remarques
Cette méthode est protégée et ne peut pas être appelée à partir du code utilisateur. Pour associer une instance SyndicationFeed à un SyndicationFeedFormatter, créez une nouvelle instance SyndicationFeedFormatter et passez le constructeur à l'instance SyndicationFeed ou chargez une instance SyndicationFeed dans le SyndicationFeedFormatter en appelant la méthode ReadFrom(XmlReader).
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour