FileResult(String) Constructeur

Définition

Crée un FileResult instance avec le fourni 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)

Paramètres

contentType
String

En-tête Content-Type de la réponse.

S’applique à