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

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