HttpResponseWrapper.ContentType 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置当前响应的 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, setPublic Overrides Property ContentType As String属性值
当前响应的 HTTP MIME 类型。 默认值为“text/html”。
例外
ContentType 属性设置为 null。