NDepend.API Documentation
TryRemove Method (IProjectPathVariables)
NDepend.Project Namespace > IProjectPathVariables Interface : TryRemove Method
The path variable to remove, name.
Try remove a path variable from this project collection of path variables.
Syntax

Parameters

pathVariableName
The path variable to remove, name.
Remarks
Returns false if no path variable with pathVariableName and read-write access right, is defined.
If this method modifies a state, this method returns true and the event IProject.IProject.SettingsChanged is triggered with the flag ProjectSettings.ProjectSettings.PathVariables activated.
Requirements

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

See Also

Reference

IProjectPathVariables Interface
IProjectPathVariables Members