Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks if the Web page is currently using a custom tool pane. For example, if the page is loaded in SharePoint Designer.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Function CheckForCustomToolpane ( _
pagePath As String _
) As Boolean
'Usage
Dim pagePath As String
Dim returnValue As Boolean
returnValue = SPUtility.CheckForCustomToolpane(pagePath)
public static bool CheckForCustomToolpane(
string pagePath
)
Parameters
pagePath
Type: System.StringThe page control name and file path.
Return Value
Type: System.Boolean
true if the page is using a custom tool pane; otherwise false.