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
page
Type: System.Web.UI.PageThe Page.
Return value
Type: Microsoft.SharePoint.WebControls.SPShortcutIcon
The singleton SPShortcutIcon instance on the specified page.