Export (0) Print
Expand All

SyndicationCategory.Name Property

Gets and sets the name of the category.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.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"/>

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

Community Additions

ADD
Show:
© 2014 Microsoft