SPWebTemplate.Title Property

Gets the display name for the site definition configuration or site template.

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

Syntax

Public ReadOnly Property Title As String
    Get

Dim instance As SPWebTemplate
Dim value As String

value = instance.Title
public string Title { get; }

Property Value

Type: System.String
A String that contains the display name.

Remarks

If the SPWebTemplate represents a site definition configuration, this property is the value of the Title attribute of a <Configuration> element in a WebTemp*.xml. (See WebTemp.xml for more information.)

If the SPWebTemplate represents a site template, this property corresponds to the <TemplateTitle> element the manifest.xml file contained in the .stp file that stores the site template.

See Also

Reference

SPWebTemplate Class

SPWebTemplate Members

Microsoft.SharePoint Namespace

Other Resources

WebTemp.xml

Collaborative Application Markup Language (CAML)

Custom Site Templates

Site Definitions and Configurations