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: 10.0.0
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