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

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.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)
See Also