Click or drag to resize
VariantHelperSetVariantWebParts Method (WebPartZoneInstance, Int32)
Saves the variant.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
public static void SetVariantWebParts(
	WebPartZoneInstance zone,
	int variantId
)

Parameters

zone
Type: CMS.PortalEngineWebPartZoneInstance
The zone instance
variantId
Type: SystemInt32
The variant id
See Also