Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CoreApplication.CreateNewView(String, String) method

Creates a new view for the app.

Syntax


public static CoreApplicationView CreateNewView(
  string runtimeType, 
  string entryPoint
)

Parameters

runtimeType

Type: System.String [.NET] | Platform::String [C++]

The class ID of the view provider for the new view. If this parameter is null, use the current view provider.

entryPoint

Type: System.String [.NET] | Platform::String [C++]

Additional info about the view, such as its class name in the app code.

Return value

Type: CoreApplicationView

The view.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Core
Windows::ApplicationModel::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.Core
Windows::ApplicationModel::Core [C++]

Metadata

Windows.winmd

See also

CoreApplication
CreateNewView

 

 

Show:
© 2015 Microsoft