NDepend.API Documentation
DoAddQuery Method
NDepend.CodeQuery Namespace > IController Interface : DoAddQuery Method
The query to add.
The group under which the query is added.
Add queryToAdd under groupParentOldObj.
Syntax

Parameters

queryToAdd
The query to add.
groupParentOldObj
The group under which the query is added.
Exceptions
ExceptionDescription
Can't perform the insertion operation on these arguments.
Please check queryToAdd with the method CanInsertQueryUnder 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