次の方法で共有


SearchBoxEx.GetToolParts メソッド (Microsoft.SharePoint.Portal.WebControls)

WebPart 基本クラスの GetToolParts メソッドをオーバーライドします。

名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)

構文

'宣言
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public Overrides Function GetToolParts As ToolPart()
'使用
Dim instance As SearchBoxEx
Dim returnValue As ToolPart()

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

戻り値

ツール ウィンドウに表示するツール パーツを決定する ToolPart 型の配列。

関連項目

参照

SearchBoxEx クラス
SearchBoxEx メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間