IRoleUIElementInfoProviderGetAsync Method |
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax Task<RoleUIElementInfo> GetAsync(
int roleId,
int uiElementId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- roleId
- Type: SystemInt32
Role ID. - uiElementId
- Type: SystemInt32
UI element ID. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskRoleUIElementInfoReturns a task returning either an instance of
RoleUIElementInfo corresponding to given identifiers or null.
See Also