NDepend.API Documentation
RemoveQuery Method
NDepend.CodeQuery Namespace > IGroup Interface : RemoveQuery Method
The query to remove.
Remove queryToRemove to this group child queries.
Syntax
IGroup RemoveQuery( 
   IQuery queryToRemove
)

Parameters

queryToRemove
The query to remove.

Return Value

The new group object representing this group.
Exceptions
ExceptionDescription
This group muts contain queryToRemove.
Remarks
Since code query objects are immutable, the old group object have been replaced in the parent hierarchy by the new returned group object.
Requirements

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

See Also

Reference

IGroup Interface
IGroup Members