Share via


SyndicationCategory.Scheme 屬性

定義

取得或設定分類的配置。

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

屬性值

分類的配置。

範例

下列 XML 會示範 Scheme 屬性如何序列化為 Atom 1.0。

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

下列 XML 會說明 Scheme 屬性如何序列化為 RSS 2.0。

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

備註

序列化為 Atom 1.0 時, Scheme 屬性會寫入 scheme 元素的 <category> 屬性。

序列化為 RSS 2.0 時, Scheme 屬性會寫入 domain 元素的 <category> 屬性。

適用於