다음을 통해 공유


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)

속성 값

Dictionary<XmlQualifiedName,String>

이 개체의 특성 확장을 포함하는 사전입니다.

예제

다음 XML에서는 인스턴스에 TextSyndicationContent 추가된 사용자 지정 특성이 Atom 1.0으로 serialize되는 방법을 보여 있습니다.

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

설명

특성 확장은 Atom 1.0 또는 RSS 2.0 사양에 정의되지 않은 사용자 지정 특성입니다. 배포 개체 모델을 사용하면 배포 콘텐츠 형식(예 TextSyndicationContent: )에 사용자 지정 특성을 추가할 수 있습니다. Atom 1.0으로 직렬화하면 이러한 특성이 <content> 요소 내에 나타납니다. RSS 2.0으로 직렬화된 경우 이러한 특성은 무시됩니다.

적용 대상