Export (0) Print
Expand All

SyndicationContent.AttributeExtensions Property

Gets the attribute extensions for this content.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)

public Dictionary<XmlQualifiedName, string> AttributeExtensions { get; }

Property Value

Type: System.Collections.Generic.Dictionary<XmlQualifiedName, String>
A dictionary that contains the attribute extensions for this object.

Attribute extensions are custom attributes that are not defined by the Atom 1.0 or RSS 2.0 specifications. The syndication object model allows you to add custom attributes to a syndication content type (for example, TextSyndicationContent). When serialized to Atom 1.0, these attributes appear within the <content> element. When serialized to RSS 2.0, these attribute are ignored.

The following XML shows how a custom attribute added to a TextSyndicationContent instance is serialized to Atom 1.0.

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


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft