Click or drag to resize
PortalContextEnsureViewMode Method
Ensures the view mode value in a variable and returns it.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntax
C#
public static ViewModeEnum EnsureViewMode(
	ViewModeEnum viewMode
)

Parameters

viewMode
Type: CMS.PortalEngineViewModeEnum
View mode

Return Value

Type: ViewModeEnum
See Also