Partager via


SyndicationFeed.ElementExtensions Property

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

Gets the element extensions for the feed.

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; }

Property Value

Type: System.ServiceModel.Syndication.SyndicationElementExtensionCollection
A SyndicationElementExtensionCollection instance that contains the element extensions in the feed.

Remarks

Element extensions are valid XML elements that are not specified in either the Atom 1.0 or RSS 2.0 specifications. You can add any valid XML element as an extension, provided its namespace is different from the enclosing namespace.

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

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.