SummaryLinkWebPart.GetToolParts Method
Returns the tool parts that are displayed in the tool pane.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function GetToolParts As ToolPart()
'Usage
Dim instance As SummaryLinkWebPart
Dim returnValue As ToolPart()
returnValue = instance.GetToolParts()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override ToolPart[] GetToolParts()
Return Value
Type: []
An array of tool parts that will appear in the tool pane.
Remarks
The SummaryLinkWebPart has on-object user interface (UI) in Design mode that allows links to be edited. In most cases, the tool pane is not needed to configure the Web Part. However, the tool pane does provide some standard Web Part configuration options that control the general appearance of the Web Part.