PageTemplateInfoProviderGetTemplatesInCategory Method |
Gets all templates in specified category.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntax public static InfoDataSet<PageTemplateInfo> GetTemplatesInCategory(
int categoryId
)
Parameters
- categoryId
- Type: SystemInt32
Parent category id. Use categoryId = 0 for templates under root
Return Value
Type:
InfoDataSetPageTemplateInfoSee Also