HttpResponseWrapper.ContentType Свойство

Определение

Получает или задает MIME-тип HTTP текущего ответа.

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

Значение свойства

MIME-тип HTTP текущего ответа. Значение по умолчанию —text/html.

Исключения

Свойству ContentType задано значение null.

Применяется к