共用方式為


ToolPane.InCustomToolPane property

取得值,指出是否要將 [工具] 窗格裝載於 Windows SharePoint Services 相容 HTML 編輯器,例如 Microsoft Office SharePoint 設計工具 2007年或另一個用戶端應用程式中的 [toolpane.aspx] 頁面。

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

Syntax

'宣告
Public ReadOnly Property InCustomToolPane As Boolean
    Get
'用途
Dim instance As ToolPane
Dim value As Boolean

value = instance.InCustomToolPane
public bool InCustomToolPane { get; }

Property value

Type: System.Boolean
true如果 [工具] 窗格裝載在如 Microsoft SharePoint 設計工具 2007年或另一個用戶端應用程式 ; Windows SharePoint Services 相容 HTML 編輯器中的 [toolpane.aspx] 頁面否則, false。

請參閱

參照

ToolPane class

ToolPane members

Microsoft.SharePoint.WebPartPages namespace