다음을 통해 공유


TableOfContentsWebPart.GetToolParts Method

Returns the TableOfContentsToolPart object that are displayed in the toolbar.

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

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

Return Value

Type: []
An array of ToolPart objects that appear in the toolbar.

Remarks

All user interface configuration of this Web Part is performed through the TableOfContentsToolPart.

See Also

Reference

TableOfContentsWebPart Class

TableOfContentsWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace