Return variant ID based on name and page template ID
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- type
- Type: CMS.PortalEngine VariantModeEnum
Type of variant
- pageTemplateID
- Type: System Int32
Variant's page template ID
- variantName
- Type: System String
Variant's name
- documentIdIsNull (Optional)
- Type: System Nullable Boolean
If set, adds check to SQL query whether the variant document id is null or not
Return Value
Type: Int32See Also