NDepend.API Documentation
DoChangeQueryActivation Method
NDepend.CodeQuery Namespace > IController Interface : DoChangeQueryActivation Method
The query on which to change the name.
The new activation boolean state of the query.
Change query.IsActive to active.
Syntax
void DoChangeQueryActivation( 
   IQuery query,
   bool active
)

Parameters

query
The query on which to change the name.
active
The new activation boolean state of the query.
Exceptions
ExceptionDescription
Can't perform the query activation changing operation on these arguments.
Please check arguments with the method CanChangeQueryActivation 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