Click or drag to resize
PageTemplateInfoProviderCloneTemplateAsAdHoc Method
Gets new page template object cloned as an ad-hoc template from the given source page template info.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 10.0.0
Syntax
C#
public static PageTemplateInfo CloneTemplateAsAdHoc(
	PageTemplateInfo sourceInfo,
	string displayName,
	int siteId,
	Guid nodeGuid
)

Parameters

sourceInfo
Type: CMS.PortalEnginePageTemplateInfo
Source page template info
displayName
Type: SystemString
Cloned page template display name
siteId
Type: SystemInt32
Site ID
nodeGuid
Type: SystemGuid
GUID of the document owner node for reference

Return Value

Type: PageTemplateInfo
See Also