共用方式為


IRuntimeFilter2.GetToolPaneControl method

函式呼叫以取得自訂的控制項 (而不是硬式編碼成一個按鈕)。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function GetToolPaneControl As IToolPaneControl
'用途
Dim instance As IRuntimeFilter2
Dim returnValue As IToolPaneControl

returnValue = instance.GetToolPaneControl()
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
IToolPaneControl GetToolPaneControl()

傳回值

Type: Microsoft.SharePoint.WebPartPages.IToolPaneControl

請參閱

參照

IRuntimeFilter2 interface

IRuntimeFilter2 members

Microsoft.SharePoint.WebPartPages namespace