NDepend.API Documentation
RemoveCoverageFile Method
NDepend.Project Namespace > IProjectCoverage Interface : RemoveCoverageFile Method
The coverage file path to remove.
Removes the coverageFilePath from the collection of coverage files.
Syntax
bool RemoveCoverageFile( 
   IFilePath coverageFilePath
)

Parameters

coverageFilePath
The coverage file path to remove.

Return Value

If the path is not found, the method does nothing and returns false.
Returns true only if the path is correctly removed.
Remarks
If the path is removed, the event IProject.IProject.SettingsChanged is triggered with the flag ProjectSettings.ProjectSettings.Coverage_Settings activated.
Requirements

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

See Also

Reference

IProjectCoverage Interface
IProjectCoverage Members