Partilhar via


AuthorizeViewCore.Authorized Propriedade

Definição

O conteúdo que será exibido se o usuário estiver autorizado. Se você especificar um valor para esse parâmetro, também não especifique um valor para ChildContent.

public:
 property Microsoft::AspNetCore::Components::RenderFragment<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ Authorized { Microsoft::AspNetCore::Components::RenderFragment<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ get(); void set(Microsoft::AspNetCore::Components::RenderFragment<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> Authorized { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>? Authorized { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.Authorized : Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> with get, set
Public Property Authorized As RenderFragment(Of AuthenticationState)

Valor da propriedade

Atributos

Aplica-se a