Partager via


Méthode 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.

Espace de noms :  Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly :  Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntaxe

'Déclaration
Public Overrides Function GetToolParts As ToolPart()
'Utilisation
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[]

Valeur de retour

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

Notes

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.