GetPrivateViewState Method

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 Web site.

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

Public Function GetPrivateViewState (
	ctl As MobileControl
) As Object


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
© 2015 Microsoft