Condividi tramite


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property Hidden As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.Hidden

instance.Hidden = value
[ClientCallableAttribute]
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