FileResult(String) Konstruktor

Definicja

Tworzy nowe FileResult wystąpienie z podanym contentTypeelementem .

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

Nagłówek Content-Type odpowiedzi.

Dotyczy