ModelDataSourceView::SaveViewState Method ()

.NET Framework (current version)

Saves the changes to the view state for the ModelDataSourceView object since the time when the page was posted back to the server.

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

virtual Object^ SaveViewState()

Return Value

Type: System::Object^

The object that contains the changes to the ModelDataSourceView view state; otherwise null if there is no view state associated with the object.

.NET Framework
Available since 4.5
Return to top