SyndicationCategory.Scheme Property

 

Gets and sets the scheme of the category.

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

public string Scheme { get; set; }

Property Value

Type: System.String

The scheme of the category.

When serialized to Atom 1.0, the Scheme property is written to the scheme attribute of the <category> element.

When serialized to RSS 2.0, the Scheme property is written to the domain attribute of the <category> element.

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

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

The following XML shows how the Scheme property is serialized to RSS 2.0.

<category customAttribute="value" domain="CategoryScheme">FeedCategory</category>

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: