SyndicationLink.ElementExtensions プロパティ

定義

SyndicationLink の要素拡張を取得します。

public:
 property System::ServiceModel::Syndication::SyndicationElementExtensionCollection ^ ElementExtensions { System::ServiceModel::Syndication::SyndicationElementExtensionCollection ^ get(); };
public System.ServiceModel.Syndication.SyndicationElementExtensionCollection ElementExtensions { get; }
member this.ElementExtensions : System.ServiceModel.Syndication.SyndicationElementExtensionCollection
Public ReadOnly Property ElementExtensions As SyndicationElementExtensionCollection

プロパティ値

SyndicationElementExtensionCollection

SyndicationElementExtensionCollection の要素拡張を格納する SyndicationLink

次のコードは、要素拡張を配信リンクに書き込む方法を示しています。

SyndicationLink link = new SyndicationLink();
link.ElementExtensions.Add("simpleString", "", "hello, world!");
Dim link As New SyndicationLink()
link.ElementExtensions.Add("simpleString", "", "hello, world!")

注釈

要素拡張は、Atom 1.0 または RSS 2.0 のどちらの仕様でも定義されていない XML 要素です。 有効な XML 要素の名前空間が、外側の名前空間と異なる場合は、その XML 要素を拡張として追加できます。

適用対象