Windows Dev Center

CoreApplication.CreateNewView(String, String) method

Creates a new view for the app.

Syntax


Public Shared Function CreateNewView(
  runtimeType As String,  
  entryPoint As String 
) As CoreApplicationView

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 (Windows 10 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 (Windows 8.x and Windows Phone 8.x)

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