Share via


FileResult(String) Konstruktor

Definition

Erstellt eine neue FileResult instance mit dem bereitgestellten contentType.

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)

Parameter

contentType
String

Der Content-Type-Header der Antwort.

Gilt für: