NDepend.API Documentation
DoChangeGroupName Method
NDepend.CodeQuery Namespace > IController Interface : DoChangeGroupName Method
The group on which to change the name.
The new name to assign to the group.
Change group.IGroup.Name to newName.
Syntax
IGroup DoChangeGroupName( 
   IGroup group,
   string newName
)

Parameters

group
The group on which to change the name.
newName
The new name to assign to the group.

Return Value

The new group object with the new name.
Exceptions
ExceptionDescription
Can't perform the group renaming operation on these arguments.
Please check arguments with the method CanSetGroupName before calling this method.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IController Interface
IController Members