AuthorizeViewCore.Authorized Vlastnost

Definice

Obsah, který se zobrazí, pokud má uživatel autorizaci. Pokud zadáte hodnotu pro tento parametr, nezadávejte také hodnotu pro 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)

Hodnota vlastnosti

Atributy

Platí pro