Sdílet prostřednictvím


ReportViewerWebPart.GetToolParts Method

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.

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

Syntax

'Declaration
Public Overrides Function GetToolParts As ToolPart()
'Usage
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[]

Return Value

Type: array<ToolPart[]
An array of ToolPart objects.

Remarks

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.