SyndicationCategory.Name Property


Gets and sets the name of the category.

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

public string Name { get; set; }

Property Value

Type: System.String

The name of the category.

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.

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