AuthorizeView.Policy 属性

定义

确定是否可以显示内容的策略名称。

public:
 property System::String ^ Policy { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public string Policy { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public string? Policy { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.Policy : string with get, set
Public Property Policy As String

属性值

属性

适用于