Share via


PackageProperties.ContentType Proprietà

Definizione

Quando sottoposto a override in una classe derivata, ottiene o imposta un valore che rappresenta il tipo di contenuto incluso nell'oggetto Package.

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

Valore della proprietà

Tipo di contenuto incluso nell'oggetto Package.

Commenti

I valori di esempio ContentType includono "Whitepaper", "Bollettino sicurezza" e "Esame".

Questa ContentType proprietà è distinta dai tipi di contenuto MIME (Multipurpose Internet Mail Extensions), come definito in RFC 2616.

Si applica a

Vedi anche