Click or drag to resize
ContentPersonalizationVariantInfoProviderLoadContentPersonalizationVariants Method
Loads the Content personalization variants for the specified instance (web part/zone/widget). Return true, if the variants were successfully loaded.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static bool LoadContentPersonalizationVariants(
	Object instance,
	bool isZone
)

Parameters

instance
Type: SystemObject
The instance
isZone
Type: SystemBoolean
Indicates if the parameter instance object is a zone

Return Value

Type: Boolean
True, if the variants were successfully loaded. False, if it was not possible to load variants, for example due to missing information in the instance.
See Also