Share via


PageModel.Page Method

Definition

Creates a PageResult object that renders the page.

public:
 virtual Microsoft::AspNetCore::Mvc::RazorPages::PageResult ^ Page();
public virtual Microsoft.AspNetCore.Mvc.RazorPages.PageResult Page ();
abstract member Page : unit -> Microsoft.AspNetCore.Mvc.RazorPages.PageResult
override this.Page : unit -> Microsoft.AspNetCore.Mvc.RazorPages.PageResult
Public Overridable Function Page () As PageResult

Returns

The PageResult.

Applies to