FileResult(String) コンストラクター

定義

指定contentTypeした を使用して新しいFileResultインスタンスを作成します。

protected:
 FileResult(System::String ^ contentType);
protected FileResult (string contentType);
new Microsoft.AspNetCore.Mvc.FileResult : string -> Microsoft.AspNetCore.Mvc.FileResult
Protected Sub New (contentType As String)

パラメーター

contentType
String

応答の Content-Type ヘッダー。

適用対象