FileResult(String) Конструктор

Определение

Создает новый FileResult экземпляр с предоставленным 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)

Параметры

contentType
String

Заголовок Content-Type ответа.

Применяется к