Click or drag to resize
PageTemplateInfoProviderPageTemplateNameExists Method (String, Int32)
Checks whether the page template with given name already exists.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
public static bool PageTemplateNameExists(
	string templateName,
	int siteId
)

Parameters

templateName
Type: SystemString
Page template name
siteId
Type: SystemInt32
Site ID

Return Value

Type: Boolean
See Also