IGroupOfGroups ReplaceGroup( IGroup groupToReplace, IGroup newGroup )
Parameters
- groupToReplace
- The group to replace.
- newGroup
- The group that replaces groupToReplace.
Return Value
The new group of groups object representing this group of groups.
IGroupOfGroups ReplaceGroup( IGroup groupToReplace, IGroup newGroup )
Exception | Description |
---|---|
System.ArgumentException | groupToReplace and newGroup must both be different than this group of groups. Also groupToReplace must be a child group of this group of groups and newGroup must not be a child group of this group of groups. Also newGroup must have the same controller as this. |
Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed