다음을 통해 공유


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

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