MobilePage.GetPrivateViewState(MobileControl) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the view state for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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
Parameters
- ctl
- MobileControl
The control for which the state is retrieved.
Returns
The StateBag object associated with the control.
Remarks
A control's view state is the aggregation of all its non-default property values.
Applies to
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.