共用方式為


GetToolParts 方法

Returns a list of tool parts that are displayed in the tool pane of the Web-based Web Part design user interface, in the order in which they are displayed.

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

語法

'宣告
Public Overrides Function GetToolParts As ToolPart()
'用途
Dim instance As ReportViewerWebPart
Dim returnValue As ToolPart()

returnValue = instance.GetToolParts()
public override ToolPart[] GetToolParts()
public:
virtual array<ToolPart^>^ GetToolParts() override
abstract GetToolParts : unit -> ToolPart[] 
override GetToolParts : unit -> ToolPart[] 
public override function GetToolParts() : ToolPart[]

傳回值

型別:array<ToolPart> [] () [] []
An array of ToolPart objects.

備註

This method returns the four default tool parts as shown in the tool pane of the Web-based Web Part design user interface. They are: Report, View, Parameters, and the default tool part. To customize the tool parts that are displayed, override this method to return a different set of tool parts.