Click or drag to resize
VariantHelperGetVariants Method
Returns variants for given type and documents or template

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static DataSet GetVariants(
	VariantModeEnum type,
	int templateID,
	string zoneID,
	Guid instanceGuid,
	int documentID
)

Parameters

type
Type: CMS.PortalEngineVariantModeEnum
Variant type
templateID
Type: SystemInt32
Template info ID
zoneID
Type: SystemString
Zone instance ID
instanceGuid
Type: SystemGuid
Instance's Guid
documentID
Type: SystemInt32
Document ID

Return Value

Type: DataSet
See Also