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

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