Click or drag to resize
PageTemplateCategoryInfoProviderPageTemplateCategoryExists Method

Note: This API is now obsolete.

Check whether page template category with given display name already exists.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Use ObjectQuery to check if exists page template category with given display name")]
public static bool PageTemplateCategoryExists(
	string displayName
)

Parameters

displayName
Type: SystemString
Display name of category to check

Return Value

Type: Boolean
Returns true if page template category with given display name already exists
See Also