Share via


PublishingCatalogUtility.GetIsPublishingCatalog method

Retrieves whether a SPList object or a library has been shared as a catalog.

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

Syntax

'Declaration
Public Shared Function GetIsPublishingCatalog ( _
    list As SPList _
) As Boolean
'Usage
Dim list As SPList
Dim returnValue As Boolean

returnValue = PublishingCatalogUtility.GetIsPublishingCatalog(list)
public static bool GetIsPublishingCatalog(
    SPList list
)

Parameters

Return value

Type: System.Boolean
A Boolean value that indicates whether a list or library has been shared as a catalog.

See also

Reference

PublishingCatalogUtility class

PublishingCatalogUtility members

Microsoft.SharePoint.Publishing namespace