Click or drag to resize
PageTemplateInstanceCombineWith Method (PageTemplateInstance, WidgetZoneTypeEnum, Boolean)
Combines two page template instances, applies the other page template instance settings (only those matching the required zone type in the current instance) to the current instance. Does not add new zones which are not present in the current instance.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 11.0.0
Syntax
C#
public void CombineWith(
	PageTemplateInstance pti,
	WidgetZoneTypeEnum zoneType,
	bool keepZoneProperties = true
)

Parameters

pti
Type: CMS.PortalEnginePageTemplateInstance
Page template instance with the personalization
zoneType
Type: CMS.PortalEngineWidgetZoneTypeEnum
Zone type to overwrite
keepZoneProperties (Optional)
Type: SystemBoolean
If true, the original zone properties are kept
See Also