Click or drag to resize
ContentPersonalizationVariantInfoProviderGetMatchingZoneInstance Method
Returns the zone instance variant which fulfill its display condition. If no variant found, return the original zone.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
protected virtual WebPartZoneInstance GetMatchingZoneInstance(
	WebPartZoneInstance originalZone,
	int templateId,
	ViewModeEnum viewMode,
	Hashtable chosenVariants
)

Parameters

originalZone
Type: CMS.PortalEngineWebPartZoneInstance
The original zone instance
templateId
Type: SystemInt32
The template id
viewMode
Type: CMS.PortalEngineViewModeEnum
The view mode
chosenVariants
Type: System.CollectionsHashtable
The hash table containing chosen variants

Return Value

Type: WebPartZoneInstance
See Also