Partilhar via


SPWebTemplate.IsHidden Property

Gets a value that indicates whether the site definition configuration is displayed in the user interface as one of the optional configurations used for creating new sites.

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 IsHidden As Boolean
    Get
'Usage
Dim instance As SPWebTemplate
Dim value As Boolean

value = instance.IsHidden
[ClientCallableAttribute]
public bool IsHidden { get; }

Property Value

Type: System.Boolean
true if the SPWebTemplate represents a site definition configuration and the configuration is not displayed; otherwise, false.

Remarks

If the SPWebTemplate represents a site definition configuration, this property corresponds to the Hidden attribute of a Configuration element in a WebTemp*.xml file. (See Understanding WebTemp*.xml Files for more information.)

If the SPWebTemplate represents a Web template, this property always returns false.

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