Compartilhar via


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