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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.