Click or drag to resize
MVTHelperLoadVariants Method
Loads all the MVT/Content personalization variants for this web part instance.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public static void LoadVariants(
	bool forceLoad,
	VariantModeEnum variantMode,
	WebPartInstance wpInstance
)

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)
wpInstance
Type: CMS.PortalEngineWebPartInstance
Web part's instance
See Also