Share via


PageStackEntry(TypeName, Object, NavigationTransitionInfo) Constructor

Definition

Initializes a new instance of the PageStackEntry class.

public:
 PageStackEntry(TypeName sourcePageType, Platform::Object ^ parameter, NavigationTransitionInfo ^ navigationTransitionInfo);
 PageStackEntry(TypeName const& sourcePageType, IInspectable const& parameter, NavigationTransitionInfo const& navigationTransitionInfo);
public PageStackEntry(System.Type sourcePageType, object parameter, NavigationTransitionInfo navigationTransitionInfo);
function PageStackEntry(sourcePageType, parameter, navigationTransitionInfo)
Public Sub New (sourcePageType As Type, parameter As Object, navigationTransitionInfo As NavigationTransitionInfo)

Parameters

sourcePageType
TypeName Type

The type of page associated with the navigation entry, as a type reference.

parameter
Object

Platform::Object

IInspectable

The navigation parameter associated with the navigation entry.

navigationTransitionInfo
NavigationTransitionInfo

Info about the animated transition associated with the navigation entry.

Remarks

Note

If you are programming using a Microsoft .NET language (C#), the TypeName type projects as System.Type. When programming using C#, it is common to use the typeof operator to get references to the System.Type of a type.

If you're using C++/WinRT you can use the winrt::xaml_typename<T>() helper function to create a TypeName object. See winrt::xaml_typename function template for more details, and a code example.

Applies to

See also