Share via


SyndicationCategory.Scheme Property

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

Gets or sets the scheme of the category.

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

Syntax

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

Property Value

Type: System.String
The scheme of the category.

Remarks

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.

Examples

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>

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.