MVTHelper LoadVariants Method Kentico 8.0 API Reference
Loads all the MVT/Content personalization variants for this web part instance.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.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)
wpInstance
Type: CMS.PortalEngine WebPartInstance
Web part's instance
See Also