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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public static Pair MapWebToIcon(
	SPWeb web


Type: Microsoft.SharePoint.SPWeb

An SPWeb object that represents the site.

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.