HttpRequestWrapper.ContentType 属性

定义

获取或设置请求的 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

属性值

String

请求的 MIME 内容类型(如 "text/html")。

适用于