SPUtility.CheckForCustomToolpane method
檢查網頁是否目前使用的自訂工具窗格。例如,若在SharePoint Designer載入頁面。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function CheckForCustomToolpane ( _
pagePath As String _
) As Boolean
'用途
Dim pagePath As String
Dim returnValue As Boolean
returnValue = SPUtility.CheckForCustomToolpane(pagePath)
public static bool CheckForCustomToolpane(
string pagePath
)
參數
pagePath
Type: System.String頁面控制項名稱及檔案路徑。
傳回值
Type: System.Boolean
true ] 頁面上會使用自訂的工具窗格 ; 如果否則false。