Router.NotFound 属性

定义

获取或设置在找不到所请求路由的匹配项时要显示的内容。

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

属性值

属性

适用于