AuthorizeViewCore.Authorized 属性

定义

如果用户获得授权,将显示的内容。 如果为此参数指定值,则不要同时为 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)

属性值

属性

适用于