Share via


HttpPostedFileBase.ContentType プロパティ

定義

派生クラスでオーバーライドされると、アップロードされたファイルの MIME コンテンツ タイプを取得します。

public:
 virtual property System::String ^ ContentType { System::String ^ get(); };
public virtual string ContentType { get; }
member this.ContentType : string
Public Overridable ReadOnly Property ContentType As String

プロパティ値

ファイルの MIME コンテンツ タイプ。

例外

適用対象