SyndicationCategory.ElementExtensions Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the element extensions for this category.

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

public SyndicationElementExtensionCollection ElementExtensions { get; }

Property Value

Type: System.ServiceModel.Syndication.SyndicationElementExtensionCollection

A collection of element extensions.

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

The following XML shows how a SyndicationCategory with a custom element is serialized to Atom 1.0.

<category customAttribute="value" term="FeedCategory" label="CategoryLabel" scheme="CategoryScheme">
    <customCategoryElement xmlns="">Some text</customCategoryElement>

Custom elements within SyndicationCategory instances are not serialized to RSS 2.0.

.NET Framework
Available since 3.5
Available since 2.0
Return to top