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
list
Type: Microsoft.SharePoint.SPListThe list or library that is being tested.
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