SPList.Hidden property

Gets or sets a Boolean value that specifies whether the list is hidden.

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

Syntax

'Declaration
Public Property Hidden As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.Hidden

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

Property value

Type: System.Boolean
true if the list is hidden; otherwise, false. The default value is false.

Remarks

A hidden list does not appear on the Documents and Lists page, Quick Launch bar, the Modify Site Content page, or the Add Column page as an option for lookup fields.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace