SearchBoxEx.GetToolParts Method

Overrides the GetToolParts method of the WebPart base class.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function GetToolParts As ToolPart()
'Usage
Dim instance As SearchBoxEx
Dim returnValue As ToolPart()

returnValue = instance.GetToolParts()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override ToolPart[] GetToolParts()

Return Value

Type: []
An array of type ToolPart that determines which tool parts will be displayed in the tool pane.

See Also

Reference

SearchBoxEx Class

SearchBoxEx Members

Microsoft.SharePoint.Portal.WebControls Namespace