SyndicationCategory.Name Property

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

Gets or sets the name of the category.

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

Syntax

'Declaration
Public Property Name As String
public string Name { get; set; }

Property Value

Type: System.String
The name of the category.

Remarks

When serialized to Atom 1.0, the Name is written to the term attribute of the <category> element. Label is not serialized to RSS 2.0.

Examples

The following XML shows how the Name property is serialized to Atom 1.0.

<category customAttribute="value" term="FeedCategory" label="CategoryLabel" scheme="CategoryScheme"/>

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.