SiteActions.GetCurrent method
Returns the singleton SiteActionsobject for the specified page.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetCurrent ( _
page As Page _
) As SiteActions
'Usage
Dim page As Page
Dim returnValue As SiteActions
returnValue = SiteActions.GetCurrent(page)
public static SiteActions GetCurrent(
Page page
)
Parameters
page
Type: System.Web.UI.PageIndicates the Page.
Return value
Type: Microsoft.SharePoint.WebControls.SiteActions
A SiteActions object.