ReportViewerWebPart.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.