NDepend.API Documentation
TryGetPathVariableValue Method
NDepend.Project Namespace > IProjectPathVariables Interface : TryGetPathVariableValue Method
The path variable name.
The path variable value found, if any path variable with pathVariableName is found.
Try obtain the value of a path variable value from its name.
Syntax
bool TryGetPathVariableValue( 
   string pathVariableName,
   out string pathVariableValue
)

Parameters

pathVariableName
The path variable name.
pathVariableValue
The path variable value found, if any path variable with pathVariableName is found.

Return Value

true if a path variable with pathVariableName is found.
Remarks
Path variable naming match is case insensitive.
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