Export (0) Print
Expand All

ModelDataSource.IStateManager.SaveViewState Method

.NET Framework 4.6 and 4.5

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Saves the state of the control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

Private Function SaveViewState As Object 
	Implements IStateManager.SaveViewState

Return Value

Type: System.Object
Returns the control's current view state; otherwise, returns Nothing, if there is no view state associated with the control.



This member is an explicit interface member implementation. It can be used only when the ModelDataSource instance is cast to an IStateManager interface.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft