Share via


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

Return value

Type: Microsoft.SharePoint.WebControls.SiteActions
A SiteActions object.

See also

Reference

SiteActions class

SiteActions members

Microsoft.SharePoint.WebControls namespace