IABTestManagerUpdateVariant Method |
Updates an A/B test variant in page identified by variant GUID with given Page builder widgets configuration.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 13.0.131
Syntax void UpdateVariant(
TreeNode page,
Guid variantGuid,
VariantConfigurationSource configurationSource
)
Parameters
- page
- Type: CMS.DocumentEngineTreeNode
Page in which to update the variant. - variantGuid
- Type: SystemGuid
Unique identifier of the variant for which to update the configuration. - configurationSource
- Type: CMS.OnlineMarketing.InternalVariantConfigurationSource
Source of the configuration to update the variant with.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when page or configurationSource is null. |
ArgumentException | Throw when variantGuid does not identify an existing variant within page. |
See Also