次の方法で共有


RazorComponentResult.ContentType プロパティ

定義

応答の Content-Type ヘッダーを取得または設定します。

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

プロパティ値

適用対象