Share via


RazorComponentResult.ContentType Property

Definition

Gets or sets the Content-Type header for the response.

public string? ContentType { get; set; }
member this.ContentType : string with get, set
Public Property ContentType As String

Property Value

Applies to