Click or drag to resize
PageTemplateCategoryInfoProviderGetSiteCategoriesList Method
Returns list of all template categories with templates count for specific site.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntax
C#
public static InfoDataSet<PageTemplateCategoryInfo> GetSiteCategoriesList(
	int siteId,
	string whereCondition,
	string orderBy
)

Parameters

siteId
Type: SystemInt32
Site ID
whereCondition
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by expression

Return Value

Type: InfoDataSetPageTemplateCategoryInfo
DataSet with list of categories
See Also