SyndicationCategory.Label Property


Gets and sets the label of the category.

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

public string Label { get; set; }

Property Value

Type: System.String

The label of the category.

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

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

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

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