SPUtility.MapWebToIcon method

Maps a Web-site to a corresponding image and tooltip based on the template and configuration identifier for the site.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function MapWebToIcon ( _
    web As SPWeb _
) As Pair
'Usage
Dim web As SPWeb
Dim returnValue As Pair

returnValue = SPUtility.MapWebToIcon(web)
public static Pair MapWebToIcon(
    SPWeb web
)

Parameters

Return value

Type: System.Web.UI.Pair
A Pair object where the first element is the image URL and the second element is the tool tip.

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace