共用方式為


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)

屬性值

屬性

適用於