Click or drag to resize
RoleUIElementInfoProviderDeleteRoleUIElementInfo Method (Int32, Int32)

Note: This API is now obsolete.

Deletes specified role UI Element.

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

Parameters

roleId
Type: SystemInt32
RoleID
elementId
Type: SystemInt32
ElementID
See Also