Method MoveGroupHierachy
MoveGroupHierachy(RideID, RideID)
Move the group with given subordinate group ID to become a subordinate group of the group with given superordinate group ID.
Declaration
public void MoveGroupHierachy(RideID subordinateGroupId, RideID superordinateGroupId)
Parameters
Type | Name | Description |
---|---|---|
RideID | subordinateGroupId | The ID of subordinate group after this method is returned. |
RideID | superordinateGroupId | The ID of superordinate group after this method is returned. Set to Null if you want to set the group with given subordinate group ID to be a top-level group. |
Implements
Exceptions
Type | Condition |
---|---|
GroupNotFoundedException | Thrown if there is not a group with given group ID, except superordinate group ID equals to Null |
WillCauseLoopHierarchyException | Thrown if the given change will make a loop in hierachy |