語言

EnvironmentBoundary.Include 屬性

定義

取得或設定一個逗號分隔的環境名稱清單,內容應該在其中呈現。 如果目前環境也在 Exclude 列表中,內容將不會被渲染。

[Microsoft.AspNetCore.Components.Parameter]
public string? Include { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.Include : string with get, set
Public Property Include As String

屬性值

屬性

備註

指定的環境名稱會以不敏感大小寫的方式比較。

適用於