NDepend.API Documentation
CanSetGroupName Method
NDepend.CodeQuery Namespace > IController Interface : CanSetGroupName Method
The group on which to change the name.
The new name to assign to the group.
If false is returned, contains the plain-english explanation of the failure.
Gets a value indicating whether group name can be changed to newName.
Syntax
bool CanSetGroupName( 
   IGroup group,
   string newName,
   out string failureReason
)

Parameters

group
The group on which to change the name.
newName
The new name to assign to the group.
failureReason
If false is returned, contains the plain-english explanation of the failure.
Remarks
An empty newName is not accepted and if another group already has the name newName, it is not accepted neither.
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