Click or drag to resize
DeviceProfileLayoutInfoProviderGetTargetLayoutId Method (DeviceProfileInfo, LayoutInfo)
Returns a target layout identifier for the specified device profile and source layout.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 11.0.0
Syntax
C#
public static int GetTargetLayoutId(
	DeviceProfileInfo deviceProfile,
	LayoutInfo sourceLayout
)

Parameters

deviceProfile
Type: CMS.DeviceProfilesDeviceProfileInfo
Device profile.
sourceLayout
Type: CMS.PortalEngineLayoutInfo
Source layout.

Return Value

Type: Int32
See Also