SyndicationContent.AttributeExtensions プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このコンテンツの属性拡張を取得します。
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 にシリアル化すると、これらの属性は無視されます。