MVTHelper LoadVariants Method Kentico 8.1 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.1.5347.20411)

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