IsCatalog Property
The IsCatalog property of the SPDocumentLibrary class gets or sets a Boolean value that specifies whether the document library is a site template gallery or a list template gallery.
Property Value
true if the document library is a gallery; otherwise, false.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security