ContentByQueryWebPart.GetToolParts method

Return the tool panes that configure this ContentByQueryWebPart object..

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 ContentByQueryWebPart
Dim returnValue As ToolPart()

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

Return value

Type: []

See also

Reference

ContentByQueryWebPart class

ContentByQueryWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace

ContentByQueryWebPart