SyndicationItem.SourceFeed プロパティ

定義

配信項目のソース フィードを取得または設定します。

public:
 property System::ServiceModel::Syndication::SyndicationFeed ^ SourceFeed { System::ServiceModel::Syndication::SyndicationFeed ^ get(); void set(System::ServiceModel::Syndication::SyndicationFeed ^ value); };
public System.ServiceModel.Syndication.SyndicationFeed SourceFeed { get; set; }
member this.SourceFeed : System.ServiceModel.Syndication.SyndicationFeed with get, set
Public Property SourceFeed As SyndicationFeed

プロパティ値

SyndicationFeed

配信項目が配置されている SyndicationFeed インスタンス。

次の XML は、SourceFeed プロパティを Atom 1.0 にシリアル化する方法を示しています。

<source>
  <title type="text">MyFeed</title>
  <subtitle type="text">This is my feed</subtitle>
  <link rel="alternate" href="http://myfeed/" />
</source>

SourceFeed プロパティを RSS 2.0 にシリアル化する方法を次の XML に示します。

<source>MyFeed</source>

注釈

このプロパティは、a に追加 SyndicationItem するときに自動的には SyndicationFeed 設定されません。明示的に設定する必要があります。 Atom 1.0 または RSS 2.0 にシリアル化する際、このプロパティは <source> 要素に書き込まれます。 その要素のコンテンツは、シリアル化した形式によって変化します。

適用対象