SPDocumentLibrary.IsCatalog property

Gets a Boolean value that indicates whether the document library is a gallery, such as for site templates, list templates, Web Parts, or Master Pages.

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

Syntax

'Declaration
Public Property IsCatalog As Boolean
    Get
    Set
'Usage
Dim instance As SPDocumentLibrary
Dim value As Boolean

value = instance.IsCatalog

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

Property value

Type: System.Boolean
true if the document library is a gallery; otherwise, false.

Remarks

Setting the IsCatalog property has no effect in SharePoint Foundation.

See also

Reference

SPDocumentLibrary class

SPDocumentLibrary members

Microsoft.SharePoint namespace