Bewerken

Delen via


NavigationService.AddBackEntry(CustomContentState) Method

Definition

Adds an entry to back navigation history that contains a CustomContentState object.

public:
 void AddBackEntry(System::Windows::Navigation::CustomContentState ^ state);
public void AddBackEntry (System.Windows.Navigation.CustomContentState state);
member this.AddBackEntry : System.Windows.Navigation.CustomContentState -> unit
Public Sub AddBackEntry (state As CustomContentState)

Parameters

state
CustomContentState

A CustomContentState object that represents application-defined state that is associated with a specific piece of content.

Exceptions

state is null, and a CustomContentState object isn't returned from GetContentState().

Remarks

AddBackEntry, CustomContentState, and IProvideCustomContentState are used to help remember multiple sets of state for the current content.

Applies to

See also