Partager via


SyndicationPerson.AttributeExtensions Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the attribute extensions for the SyndicationPerson.

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

Syntax

'Declaration
Public ReadOnly Property AttributeExtensions As Dictionary(Of XmlQualifiedName, String)
public Dictionary<XmlQualifiedName, string> AttributeExtensions { get; }

Property Value

Type: System.Collections.Generic.Dictionary<XmlQualifiedName, String>
A dictionary that contains a collection of attribute extensions.

Remarks

The Syndication object model allows you to add custom attributes to a SyndicationPerson instance. You can add any valid XML attribute/value.

When serialized to Atom 1.0, any custom attribute/value is written as an attribute in the <author> or <contributor> element. When serialized to RSS 2.0, any custom attribute/value is written as an attribute in the <managingEditor>, <a10:contributor>, or <a10:author> element.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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