Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MapWebToIcon method
Collapse the table of content
Expand the table of content

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)

public static Pair MapWebToIcon(
	SPWeb web
)

Parameters

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.
Show:
© 2015 Microsoft