Partilhar via


SPWebTemplate.Title Property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Title As String
    Get
'Usage
Dim instance As SPWebTemplate
Dim value As String

value = instance.Title
[ClientCallableAttribute]
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 Understanding WebTemp*.xml Files for more information.)

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

See Also

Reference

SPWebTemplate Class

SPWebTemplate Members

Microsoft.SharePoint Namespace

Other Resources

Understanding WebTemp*.xml Files

Collaborative Application Markup Language (CAML)

Web Templates

Site Definitions and Configurations