FileResult.ContentType Property

Definition

Gets the content type to use for the response.

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

Property Value

The type of the content.

Applies to