共用方式為


IToolPaneControl Interface

Represents an advanced WebPartToolPart Web control.

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

Syntax

'Declaration
Public Interface IToolPaneControl
'Usage
Dim instance As IToolPaneControl
public interface IToolPaneControl

Remarks

Use this class to get or set the AuthorizationFilter property of the selected Web Part, which is associated with the WebPartToolPart. The WebPartToolPart contains the WebControl object that is represented by the IToolPaneControl interface. This property is returned by the object that implements the IRuntimeFilter2 interface, which in turn implements run-time filtering of Web Parts, based on the user who is viewing the page.

See Also

Reference

IToolPaneControl Members

Microsoft.SharePoint.WebPartPages Namespace

WebPartToolPart.Categories

ToolPane

Microsoft.SharePoint.WebPartPages

WebPartZone