Aracılığıyla paylaş


SyndicationCategory.Label Property

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

Gets or sets the label of the category.

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

Syntax

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

Property Value

Type: System.String
The label of the category.

Remarks

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.

Examples

The following XML shows how the Label 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.