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

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
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