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

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