Partager via


SPShortcutIcon.GetCurrent method

Returns the singleton SPShortcutIcon on the current page.

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

Syntax

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

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

Parameters

Return value

Type: Microsoft.SharePoint.WebControls.SPShortcutIcon
The singleton SPShortcutIcon instance on the specified page.

See also

Reference

SPShortcutIcon class

SPShortcutIcon members

Microsoft.SharePoint.WebControls namespace