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
- page
Type: System.Web.UI.Page
Return value
Type: Microsoft.SharePoint.WebControls.SPPageManager
Remarks
The SPPageManager is available only after an OnInit event is raised.