Click or drag to resize
PageTemplateInfoProviderGetTemplatesInCategory Method
Gets all templates in specified category.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static InfoDataSet<PageTemplateInfo> GetTemplatesInCategory(
	int categoryId
)

Parameters

categoryId
Type: SystemInt32
Parent category id. Use categoryId = 0 for templates under root

Return Value

Type: InfoDataSetPageTemplateInfo
See Also