PageTemplateInstance LoadVariants Method Kentico 8.0 API Reference
Loads all the MVT/Content personalization variants for this template instance.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

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