Partager via


SyndicationItem.Categories Property

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

Gets the syndication categories for the syndication item.

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 of the syndication item.

Remarks

When serialized to Atom 1.0 or RSS 2.0, a <category> element is created for each category in the Categories collection.

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.