在用户界面中的SharePoint Foundation获取用于表示网站定义配置的图像的 URL 或Web 模板。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property ImageUrl As String
Get
用法
Dim instance As SPWebTemplate
Dim value As String
value = instance.ImageUrl
public string ImageUrl { get; }
属性值
类型:System.String
String 表示为"/_layouts/"开头的虚拟目录的 URL。
备注
If the SPWebTemplate represents a site definition configuration, this property corresponds to the ImageUrl attribute of a Configuration element in a WebTemp*.xml file. (See WebTemp.xml for more information.)
如果SPWebTemplate代表 Web 模板,此属性对应于.wsp 文件,用于存储 Web 模板中包含elements.xml文件中的WebTemplate元素的ImageUrl属性。