PageTemplateInfoProviderCloneTemplateAsAdHoc Method |
Gets new page template object cloned as an ad-hoc template from the given source page template info.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax 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:
PageTemplateInfoSee Also