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 (System.Type for Microsoft .NET, a TypeName helper struct for Visual C++ component extensions (C++/CX)).

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# or Microsoft Visual Basic), 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. In Microsoft Visual Basic, use GetType. If you're using Visual C++ component extensions (C++/CX)), where you'll need to create a TypeName helper struct, you can use the typeid component extension.

Applies to

See also