PageTemplateInfoProviderPageTemplateNameExists Method (String, Int32) |
Checks whether the page template with given name already exists.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 12.0.0
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