createNewView method

Opens the specified Uniform Resource Identifier (URI) in a new view.

Syntax

var retval = MSApp.createNewView(uri);

Parameters

  • uri [in]
    Type: String

    A URI containing the address of the resource to be opened in the view.

Return value

Type: MSAppView

The window (hidden) that is navigating to the target URI.

Remarks

The createNewView method is supported only for Windows Store apps.

See also

MSApp

getViewOpener