Delen via


INavigate.Navigate(TypeName) Method

Definition

Causes the navigation host to load content that is specified by a type reference.

public:
 bool Navigate(TypeName sourcePageType);
bool Navigate(TypeName const& sourcePageType);
public bool Navigate(System.Type sourcePageType);
function navigate(sourcePageType)
Public Function Navigate (sourcePageType As Type) As Boolean

Parameters

sourcePageType
TypeName Type

A type reference for the content to load.

Returns

Boolean

bool

true if the navigation host can navigate according to its settings; otherwise, false.

Remarks

The INavigate interface is mainly infrastructure. It's not expected that typical UWP app will implement this interface.

Important

If you are programming using a Microsoft .NET language (C# or Microsoft Visual Basic), the TypeName type projects as System.Type.

Applies to

See also