SyndicationCategory.Scheme Property

Definition

Gets or sets the scheme of the category.

public string Scheme { get; set; }

Property Value

The scheme of the category.

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>  

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.

Applies to

Ürün Sürümler
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)