SPList.IsPrivate property

Gets a Boolean value that indicates whether the document library is a private list with restricted permissions, such as for Solutions.

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

Syntax

'Declaration
Public ReadOnly Property IsPrivate As Boolean
    Get
'Usage
Dim instance As SPList
Dim value As Boolean

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

Property value

Type: System.Boolean
True if the document library is a private list; otherwise, false.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace