FileResult(String) Konstruktor

Definice

Vytvoří novou FileResult instanci se zadaným contentTypeobjektem .

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)

Parametry

contentType
String

Hlavička Content-Type odpovědi.

Platí pro