Condividi tramite


SyndicationCategory.Label Proprietà

Definizione

Ottiene o imposta l'etichetta della categoria.

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

Valore della proprietà

Etichetta della categoria.

Esempio

Nel codice XML seguente viene illustrato come serializzare la Label proprietà in Atom 1.0.

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

Commenti

Se serializzato in Atom 1.0, viene Label scritto nell'attributo label dell'elemento <category> . Label non viene serializzato in RSS 2.0.

Si applica a