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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應