SiteActions.GetCurrent Method
Returns the singleton SiteActionsobject for the specified page.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.