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

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 12.0.0
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