語言

MobilePage.GetPrivateViewState(MobileControl) 方法

定義

取得控制項的視圖狀態。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 System::Object ^ GetPrivateViewState(System::Web::UI::MobileControls::MobileControl ^ ctl);
public object GetPrivateViewState(System.Web.UI.MobileControls.MobileControl ctl);
member this.GetPrivateViewState : System.Web.UI.MobileControls.MobileControl -> obj
Public Function GetPrivateViewState (ctl As MobileControl) As Object

參數

ctl
MobileControl

狀態所取得的控制點。

傳回

StateBag與控制項相關的物件。

備註

控制項的視圖狀態是其所有非預設屬性值的彙整。

適用於

另請參閱