映射到相应的图像和基于网站的模板和配置标识符的工具提示的网站。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function MapWebToIcon ( _
web As SPWeb _
) As Pair
用法
Dim web As SPWeb
Dim returnValue As Pair
returnValue = SPUtility.MapWebToIcon(web)
public static Pair MapWebToIcon(
SPWeb web
)
参数
web
类型:Microsoft.SharePoint.SPWebSPWeb对象表示该网站。
返回值
类型:System.Web.UI.Pair
其中的第一个元素是图像 URL 和第二个元素Pair对象是工具提示。