MobilePage.GetPrivateViewState(MobileControl) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得控制項的視圖狀態。 這個 API 已經過時了。 有關如何開發 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與控制項相關的物件。
備註
控制項的視圖狀態是其所有非預設屬性值的彙整。