SyndicationFeedFormatter.SetFeed(SyndicationFeed) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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)
參數
- feed
- SyndicationFeed
備註
此方法受保護,無法從使用者程式碼中呼叫。 要將實例與 關聯SyndicationFeed,要建立新SyndicationFeedFormatter實例並傳入建構子實SyndicationFeedFormatter例,或透過呼叫SyndicationFeed方法載入SyndicationFeed實例。SyndicationFeedFormatterReadFrom(XmlReader)