CoreApplication.CreateNewView Method

Definition

Overloads

CreateNewView()

Creates a new view for the app.

CreateNewView(IFrameworkViewSource)

Creates a new view for the app.

CreateNewView(String, String)

Creates a new view for the app.

CreateNewView()

Creates a new view for the app.

public:
 static CoreApplicationView ^ CreateNewView();
/// [Windows.Foundation.Metadata.Overload("CreateNewViewFromMainView")]
 static CoreApplicationView CreateNewView();
[Windows.Foundation.Metadata.Overload("CreateNewViewFromMainView")]
public static CoreApplicationView CreateNewView();
function createNewView()
Public Shared Function CreateNewView () As CoreApplicationView

Returns

CoreApplicationView

The view.

Attributes

See also

Applies to

CreateNewView(IFrameworkViewSource)

Creates a new view for the app.

public:
 static CoreApplicationView ^ CreateNewView(IFrameworkViewSource ^ viewSource);
/// [Windows.Foundation.Metadata.Overload("CreateNewViewWithViewSource")]
 static CoreApplicationView CreateNewView(IFrameworkViewSource const & viewSource);
[Windows.Foundation.Metadata.Overload("CreateNewViewWithViewSource")]
public static CoreApplicationView CreateNewView(IFrameworkViewSource viewSource);
function createNewView(viewSource)
Public Shared Function CreateNewView (viewSource As IFrameworkViewSource) As CoreApplicationView

Parameters

viewSource
IFrameworkViewSource

The view provider for the new view.

Returns

CoreApplicationView

The view.

Attributes

See also

Applies to

CreateNewView(String, String)

Creates a new view for the app.

public:
 static CoreApplicationView ^ CreateNewView(Platform::String ^ runtimeType, Platform::String ^ entryPoint);
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("CreateNewView")]
 static CoreApplicationView CreateNewView(winrt::hstring const & runtimeType, winrt::hstring const & entryPoint);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("CreateNewView")]
public static CoreApplicationView CreateNewView(string runtimeType, string entryPoint);
function createNewView(runtimeType, entryPoint)
Public Shared Function CreateNewView (runtimeType As String, entryPoint As String) As CoreApplicationView

Parameters

runtimeType
String

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

entryPoint
String

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

Returns

CoreApplicationView

The view.

Attributes

See also

Applies to