Click or drag to resize
PageTemplateDeviceLayoutInfoProviderGetDeviceLayoutName Method
Returns device layout name and prefixes if available

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 10.0.0
Syntax
C#
public static string GetDeviceLayoutName(
	string path,
	bool isAdHoc,
	ref List<string> prefixes
)

Parameters

path
Type: SystemString
Current path
isAdHoc
Type: SystemBoolean
Indicates whether layout is on AdHoc page template
prefixes
Type: System.Collections.GenericListString
Path prefixes

Return Value

Type: String
See Also