Click or drag to resize
ViewModeCodeToEnum Method
Returns the enumeration representation of the Page mode code.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static ViewModeEnum ToEnum(
	int code
)

Parameters

code
Type: SystemInt32
View mode code

Return Value

Type: ViewModeEnum
See Also