SyndicationLink.ElementExtensions プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 要素を拡張機能として追加できます。ただし、その名前空間が外側の名前空間とは異なる場合です。