Share via


SPWebTemplate.Description Property

Gets the description for the site definition configuration or site template.

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

Syntax

Public ReadOnly Property Description As String
    Get

Dim instance As SPWebTemplate
Dim value As String

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

Property Value

Type: System.String
A String that contains the description.

Remarks

If the SPWebTemplate represents a site definition configuration, this property corresponds to the Description 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 corresponds to the <TemplateDescription> 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