PageTemplateInfoProviderPageTemplateNameExists Method (String, Int32) |
Checks whether the page template with given name already exists.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax public static bool PageTemplateNameExists(
string templateName,
int siteId
)
Parameters
- templateName
- Type: SystemString
Page template name - siteId
- Type: SystemInt32
Site ID
Return Value
Type:
BooleanSee Also