Click or drag to resize
LayoutHelperGetLayoutTypeEnum Method
Gets the layout type enumeration for the given string value.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static LayoutTypeEnum GetLayoutTypeEnum(
	string type,
	LayoutTypeEnum defaultValue = LayoutTypeEnum.Html
)

Parameters

type
Type: SystemString
String type
defaultValue (Optional)
Type: CMS.DataEngineLayoutTypeEnum
Default value - optional; HTML is default value by default

Return Value

Type: LayoutTypeEnum
See Also