IStateManager.SaveViewState Method

ModelDataSourceView.IStateManager.SaveViewState Method ()

.NET Framework 4.6 and 4.5

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

Saves the changes to a server control’s view state to an Object.

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

private abstract SaveViewState : unit -> Object
private override SaveViewState : unit -> Object

Return Value

Type: System.Object

The object that contains the changes to the ModelDataSourceView view state; otherwise, null.

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

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft