Partager via


SPPinnedSiteTile.GetCurrent method

Get the SPPinnedSiteTile 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 SPPinnedSiteTile
'Usage
Dim page As Page
Dim returnValue As SPPinnedSiteTile

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

Parameters

Return value

Type: Microsoft.SharePoint.WebControls.SPPinnedSiteTile
The SPShortcutIcon instance on this page

See also

Reference

SPPinnedSiteTile class

SPPinnedSiteTile members

Microsoft.SharePoint.WebControls namespace