通过


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

属性值

属性

注解

指定的环境名称不区分大小写。

适用于