Share via


HttpRequestBase.ContentType プロパティ

定義

派生クラスでオーバーライドされた場合、要求の MIME コンテンツ タイプを取得または設定します。

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

プロパティ値

"text/html" などの要求の MIME コンテンツ タイプ。

例外

適用対象