Click or drag to resize
MVTVariantInfoProviderLoadMVTVariants Method
Loads the MVT 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: 11.0.0
Syntax
C#
public static bool LoadMVTVariants(
	Object instance,
	bool isZone,
	int documentId = 0
)

Parameters

instance
Type: SystemObject
The zone instance of web part instance
isZone
Type: SystemBoolean
Indicates if the parameter instance object is a zone
documentId (Optional)
Type: SystemInt32
Document ID if the instance holds a widget

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