IABTestManagerGetVariants Method |
Returns all A/B test variants existing for given page.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 13.0.131
Syntax IEnumerable<IABTestVariant> GetVariants(
TreeNode page
)
Parameters
- page
- Type: CMS.DocumentEngineTreeNode
Return Value
Type:
IEnumerableIABTestVariant
Existing variants or empty enumeration when document has empty A/B variant configuration.
Variants are represented by
IABTestVariant interface.
Exceptions Exception | Condition |
---|
ArgumentNullException | When passed page is null. |
InvalidOperationException | When document has malformed A/B variant configuration data. |
See Also