共用方式為


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

屬性值

屬性

適用於