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

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

Parameters

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

Return Value

Type: InfoDataSet<PageTemplateInfo>
See Also