SPUtility.CheckForCustomToolpane method

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)

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.String

    The page control name and file path.

Return value

Type: System.Boolean
true if the page is using a custom tool pane; otherwise false.

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace