Export (0) Print
Expand All

SPWebTemplate.ImageUrl property

Gets the URL to the image that is used to represent the site definition configuration or Web template in the user interface of SharePoint Foundation.

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

public string ImageUrl { get; }

Property value

Type: System.String
A String that represents the URL as a virtual directory beginning with "/_layouts/".

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.)

If the SPWebTemplate represents a Web template, this property corresponds to the ImageUrl attribute of the WebTemplate element in a elements.xml file contained in the .wsp file that stores the Web template.

Show:
© 2014 Microsoft