Click or drag to resize
ICurrentABTestVariantProviderGet Method
Gets the current A/B test variant for the page that is requested.

Namespace: Kentico.OnlineMarketing.Web.Mvc
Assembly: Kentico.OnlineMarketing.Web.Mvc (in Kentico.OnlineMarketing.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
IABTestVariant Get()

Return Value

Type: IABTestVariant
Returns the current A/B test variant, or null if no variant is available.
Remarks
The IPageDataContextInitializer must be used to initialize the page prior to getting the current A/B test variant.
See Also