Share via


HttpResponseWrapper.ContentType Proprietà

Definizione

Ottiene o imposta il tipo MIME HTTP della risposta corrente.

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

Valore della proprietà

Tipo MIME HTTP della risposta corrente. Il valore predefinito è "text/html".

Eccezioni

La proprietà ContentType è impostata su null.

Si applica a