Muokkaa

Jaa


MobilePage.GetPrivateViewState(MobileControl) Method

Definition

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