LayoutHelperGetLayoutTypeEnum Method |
Gets the layout type enumeration for the given string value.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntaxpublic 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