Share via


SPPageManager.GetCurrent method

Gets the current SPPageManager object on the page.

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

Syntax

'Declaration
Public Shared Function GetCurrent ( _
    page As Page _
) As SPPageManager
'Usage
Dim page As Page
Dim returnValue As SPPageManager

returnValue = SPPageManager.GetCurrent(page)
public static SPPageManager GetCurrent(
    Page page
)

Parameters

Return value

Type: Microsoft.SharePoint.WebControls.SPPageManager

Remarks

The SPPageManager is available only after an OnInit event is raised.

See also

Reference

SPPageManager class

SPPageManager members

Microsoft.SharePoint.WebControls namespace