HttpResponseWrapper.ContentType Свойство

Определение

Возвращает или задает тип HTTP MIME текущего ответа.

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

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

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

Исключения

Для свойства ContentType задано значение null.

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