FileResult.ContentType 属性

定义

获取用于响应的内容类型。

public string ContentType { get; }
member this.ContentType : string
Public ReadOnly Property ContentType As String

属性值

内容的类型。

适用于