SPListTemplate.Hidden property

Gets a Boolean value that specifies whether the list definition or list template is hidden from Web site users and does not appear as an option on the Create page.

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

Syntax

'Declaration
Public ReadOnly Property Hidden As Boolean
    Get
'Usage
Dim instance As SPListTemplate
Dim value As Boolean

value = instance.Hidden
public bool Hidden { get; }

Property value

Type: System.Boolean
true if the list template is hidden from users; otherwise, false.

Remarks

The Hidden property represents the property as declared in the ListTemplate element of the site definition, and not the actual state of this property as persisted in the .stp file of a site saved as a custom template.

See also

Reference

SPListTemplate class

SPListTemplate members

Microsoft.SharePoint namespace