FileResult.ContentType 屬性

定義

取得要用於回應的內容類型。

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

屬性值

內容的類型。

適用於