共用方式為


SaveViewState 方法

Saves the view-state of the ReportViewerWebPart.

命名空間:  Microsoft.ReportingServices.SharePoint.UI.WebParts
組件:  Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

語法

'宣告
Protected Overrides Function SaveViewState As Object
'用途
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

傳回值

型別: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 nullNothingnullptrunitnull 參考 (在 Visual Basic 中為 Nothing) reference (Nothing in Visual Basic).

備註

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