NDepend.API Documentation
CanDeleteQuery Method
NDepend.CodeQuery Namespace > IController Interface : CanDeleteQuery Method
The query to delete.
If false is returned, contains the plain-english explanation of the failure.
Gets a value indicating whether queryToDelete can be deleted.
Syntax
bool CanDeleteQuery( 
   IQuery queryToDelete,
   out string failureReason
)

Parameters

queryToDelete
The query to delete.
failureReason
If false is returned, contains the plain-english explanation of the failure.
Remarks
If queryToDelete.IQuery.IsExtractedFromCode, the query cannot be deleted.
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