PageSession.GoToPage Method

Navigates to a specific page.

Syntax

public void GoToPage(
   string source
);

public void GoToPage(
   string source,
   IDictionary<string, object> uiProperties
);

public virtual void GoToPage(
   string  source,
   IDictionary<string, object> sourceData,
   IDictionary<string, object> uiProperties
);

Parameters

source

System.String. The uniform resource identifier (URI) that points to the page. For more information, see Using Resources in MCML.

sourceData

System.Collections.Generic.IDictionary<string,object>. Contains parameters passed in the web request that are used to fetch the page if the source URI is an HTTP or HTTPS URI.

uiProperties

System.Collections.Generic.IDictionary<string,object>. Contains parameters passed to the new page.

Return Value

This method does not return a value.

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter.Hosting

Assembly: Microsoft.MediaCenter.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also