Share via


AuthorizeView.Policy Property

Definition

The policy name that determines whether the content can be displayed.

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

Property Value

Attributes

Applies to