NavigationService::AddBackEntry Method (CustomContentState^)
.NET Framework (current version)
Adds an entry to back navigation history that contains a CustomContentState object.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- state
-
Type:
System.Windows.Navigation::CustomContentState^
A CustomContentState object that represents application-defined state that is associated with a specific piece of content.
| Exception | Condition |
|---|---|
| InvalidOperationException | state is null, and a CustomContentState object isn't returned from GetContentState. |
AddBackEntry, CustomContentState, and IProvideCustomContentState are used to help remember multiple sets of state for the current content.
.NET Framework
Available since 3.0
Available since 3.0
Show: