Share via


SyndicationCategory.Label 屬性

定義

取得或設定分類的標籤。

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

屬性值

分類的標籤。

範例

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

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

備註

當序列化為 Atom 1.0 時,會將 Label 寫入 label 至 專案的 <category> 屬性。 Label 未序列化為 RSS 2.0。

適用於