SyndicationContent.AttributeExtensions プロパティ

定義

このコンテンツの属性拡張を取得します。

public:
 property System::Collections::Generic::Dictionary<System::Xml::XmlQualifiedName ^, System::String ^> ^ AttributeExtensions { System::Collections::Generic::Dictionary<System::Xml::XmlQualifiedName ^, System::String ^> ^ get(); };
public System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName,string> AttributeExtensions { get; }
member this.AttributeExtensions : System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, string>
Public ReadOnly Property AttributeExtensions As Dictionary(Of XmlQualifiedName, String)

プロパティ値

このオブジェクトの属性拡張を含むディクショナリ。

次の XML は、 TextSyndicationContent インスタンスに追加されたカスタム属性を Atom 1.0 にシリアル化する方法を示しています。

<content type="text" customAttribute="value">Some text content</content>

注釈

属性拡張は、Atom 1.0 または RSS 2.0 仕様で定義されていないカスタム属性です。 シンジケーション オブジェクト モデルを使用すると、カスタム属性をシンジケーション コンテンツ タイプ ( TextSyndicationContent など) に追加できます。 Atom 1.0 にシリアル化すると、これらの属性は <content> 要素内に表示されます。 RSS 2.0 にシリアル化すると、これらの属性は無視されます。

適用対象