This documentation is archived and is not being maintained.

SPWebTemplate.ImageUrl Property

Windows SharePoint Services 3

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

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 site template, this property is not directly persisted in the manifest.xml file contained in the .stp file that stores the site template. Instead the value is provided by the site definition configuration that is the foundation of the site that is the source of the site template.