MobilePage::GetPrivateViewState Method (MobileControl^)

 

Retrieves the view state for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
Object^ GetPrivateViewState(
	MobileControl^ ctl
)

Parameters

ctl
Type: System.Web.UI.MobileControls::MobileControl^

The control for which the state is retrieved.

Return Value

Type: System::Object^

The StateBag object associated with the control.

A control's view state is the aggregation of all its non-default property values.

.NET Framework
Available since 1.1
Return to top
Show: