Editar

Partilhar via


SyndicationCategory.Scheme Property

Definition

Gets or sets the scheme of the category.

public:
 property System::String ^ Scheme { System::String ^ get(); void set(System::String ^ value); };
public string Scheme { get; set; }
member this.Scheme : string with get, set
Public Property Scheme As String

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