HttpResponseWrapper.ContentType Propiedad

Definición

Obtiene o establece el tipo MIME HTTP de la respuesta actual.

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

Valor de propiedad

Tipo MIME HTTP de la respuesta actual. El valor predeterminado es "text/html".

Excepciones

La propiedad ContentType se establece en null.

Se aplica a