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 標頭。

適用於