Click or drag to resize
PageTemplateInfoProviderDeleteAdHocTemplates Method
Deletes all ad hoc templates for given node (UI element) based on it's GUID.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 12.0.0
Syntax
C#
public static void DeleteAdHocTemplates(
	Guid guid,
	int siteId = -1
)

Parameters

guid
Type: SystemGuid
Item's guid
siteId (Optional)
Type: SystemInt32
Site ID
See Also