WebPage.RenderPage(String, Object[]) Method

Definition

Renders a content page.

public override System.Web.WebPages.HelperResult RenderPage (string path, params object[] data);
override this.RenderPage : string * obj[] -> System.Web.WebPages.HelperResult
Public Overrides Function RenderPage (path As String, ParamArray data As Object()) As HelperResult

Parameters

path
String

The path of the page to render.

data
Object[]

Data to pass to the page.

Returns

An object that can write the output of the page.

Applies to