Share via


EcoResCategory::checkCategoryRole Method

Determines whether the specified category is part of a hierarchy with the specified role.

Syntax

client server public static boolean checkCategoryRole(EcoResCategoryId _ecoResCategoryId, EcoResCategoryNamedHierarchyRole _ecoResNamedCategoryHierarchyRole)

Run On

Called

Parameters

Return Value

Type: boolean
true if the specified category is part of a hierarchy with the specified role; otherwise, false and it displays an error message.

See Also

Reference

EcoResCategory Table