Click or drag to resize
OutputCacheKeyOptionsExtensionsVaryByABTestVariant Method
Ensures that output cache varies on A/B test variants.

Namespace: Kentico.OnlineMarketing.Web.Mvc
Assembly: Kentico.OnlineMarketing.Web.Mvc (in Kentico.OnlineMarketing.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public static IOutputCacheKeyOptions VaryByABTestVariant(
	this IOutputCacheKeyOptions options
)

Parameters

options
Type: Kentico.Web.MvcIOutputCacheKeyOptions
IOutputCacheKeyOptions object.

Return Value

Type: IOutputCacheKeyOptions

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IOutputCacheKeyOptions. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also