Partager via


SyndicationItem.ElementExtensions Property

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

Gets the element extensions contained in the syndication item.

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

Syntax

'Declaration
Public ReadOnly Property ElementExtensions As SyndicationElementExtensionCollection
public SyndicationElementExtensionCollection ElementExtensions { get; }

Remarks

Element extensions are valid XML elements that are not specified in either the Atom 1.0 or RSS 2.0 specifications. Any valid XML element can be added as an extension provided its namespace is different from the enclosing namespace. When serialized, extensions are written like any other XML element.

<mg:MyElement xmlns:mg="http://myserver/elements" />

For a complete example that shows how to add element extensions, see the Loosely-Typed Extensions Sample.

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.