SPShortcutIcon.GetCurrent Method
Returns the singleton SPShortcutIcon on the current 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 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.