SyndicationItemFormatter.SetItem(SyndicationItem) 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 SyndicationItem instance with the SyndicationItemFormatter.
protected public:
virtual void SetItem(System::ServiceModel::Syndication::SyndicationItem ^ item);
protected internal virtual void SetItem (System.ServiceModel.Syndication.SyndicationItem item);
abstract member SetItem : System.ServiceModel.Syndication.SyndicationItem -> unit
override this.SetItem : System.ServiceModel.Syndication.SyndicationItem -> unit
Protected Friend Overridable Sub SetItem (item As SyndicationItem)
Parameters
- item
- SyndicationItem
The SyndicationItem to associate with the SyndicationItemFormatter.
Remarks
This method is protected and cannot be called from user code. To associate a SyndicationItem instance with a SyndicationItemFormatter, either create a new SyndicationItemFormatter instance and pass the constructor a SyndicationItem instance or load a SyndicationItem instance into the SyndicationItemFormatter by calling ReadFrom(XmlReader).
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про