Op Englesch liesen

Deelen iwwer


PageBase.Page Method

Definition

Creates a PageResult object that renders this page as a view to the response.

C#
public virtual Microsoft.AspNetCore.Mvc.RazorPages.PageResult Page ();

Returns

The created PageResult object for the response.

Remarks

Returning a PageResult from a page handler method is equivalent to returning void. The view associated with the page will be executed.

Applies to

Produkt Versiounen
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0