Sdílet prostřednictvím


ReportViewerWebPart.SaveViewState Method

Saves the view-state of the ReportViewerWebPart.

Namespace:  Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly:  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
Protected Overrides Function SaveViewState As Object
'Usage
Dim returnValue As Object

returnValue = Me.SaveViewState()
protected override Object SaveViewState()
protected:
virtual Object^ SaveViewState() override
abstract SaveViewState : unit -> Object 
override SaveViewState : unit -> Object 
protected override function SaveViewState() : Object

Return Value

Type: System.Object
An object that contains the current view state of the control; otherwise, if there is no view state associated with the control, a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).

Remarks

For more information on this method, see WebControl.SaveViewState.