Share via


SyndicationFeed.Categories Property

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

Gets a collection of categories for the feed.

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

Syntax

'Declaration
Public ReadOnly Property Categories As Collection(Of SyndicationCategory)
public Collection<SyndicationCategory> Categories { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<SyndicationCategory>
A collection of SyndicationCategory objects that represent the categories for the feed.

Remarks

When serialized to Atom 1.0, each SyndicationCategory in the collection is written to a <category> element.

When serialized to RSS 2.0, each SyndicationCategory in the collection is written to a <category> 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.