HttpRequest.ContentType 属性

定义

获取或设置 Content-Type 标头。

public:
 abstract property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
public abstract string ContentType { get; set; }
public abstract string? ContentType { get; set; }
member this.ContentType : string with get, set
Public MustOverride Property ContentType As String

属性值

Content-Type 标头。

适用于