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
page
Type: System.Web.UI.PageThe Page to retrieve the SPShortcutIcon for
Return value
Type: Microsoft.SharePoint.WebControls.SPPinnedSiteTile
The SPShortcutIcon instance on this page