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の要素拡張を含む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 要素を拡張機能として追加できます。ただし、その名前空間が外側の名前空間とは異なる場合です。

適用対象