ToolPane.RemoveToolPart Method

Removes a ToolPart from the tool pane.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub RemoveToolPart ( _
    tp As ToolPart _
)
'Usage
Dim instance As ToolPane
Dim tp As ToolPart

instance.RemoveToolPart(tp)
public void RemoveToolPart(
    ToolPart tp
)

Parameters

Examples

The following code snippet demonstrates the use of the RemoveToolPart method to remove tool part myToolPart from the tool pane myToolPane.

myToolPane.RemoveToolPart(myToolPart)
myToolPane.RemoveToolPart(myToolPart);

See Also

Reference

ToolPane Class

ToolPane Members

Microsoft.SharePoint.WebPartPages Namespace