語言

IProvideCustomContentState.GetContentState 方法

定義

回傳一個自訂狀態類別的實例,該類別將與導航歷史中的內容相關聯。

public:
 System::Windows::Navigation::CustomContentState ^ GetContentState();
public System.Windows.Navigation.CustomContentState GetContentState();
abstract member GetContentState : unit -> System.Windows.Navigation.CustomContentState
Public Function GetContentState () As CustomContentState

傳回

一個自訂類別的實例 CustomContentState ,將與導覽歷史中的內容相關聯。

適用於