Click or drag to resize
RoleUIElementInfoProviderGetRoleUIElementInfo Method

Note: This API is now obsolete.

Returns the RoleUIElementInfo structure for the specified role UI element.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IRoleUIElementInfoProvider.Get(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - RoleUIElementInfo.Provider.")]
public static RoleUIElementInfo GetRoleUIElementInfo(
	int roleId,
	int elementId
)

Parameters

roleId
Type: SystemInt32
RoleID
elementId
Type: SystemInt32
ElementID

Return Value

Type: RoleUIElementInfo
See Also