Click or drag to resize
PageTemplateInstanceLoadVariants Method
Loads all the MVT/Content personalization variants for this template instance.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public void LoadVariants(
	bool forceLoad,
	VariantModeEnum variantMode
)

Parameters

forceLoad
Type: SystemBoolean
Indicates if already loaded variants should be reloaded
variantMode
Type: CMS.PortalEngineVariantModeEnum
Specifies which variants should be loaded (MVT/ContentPersonalization/None - means both MVT+CP variants should try to load)
See Also