NDepend.API Documentation
IsEnvVarPath Property
NDepend.Path Namespace > IPath Interface : IsEnvVarPath Property
Gets a value indicating whether this path is prefixed with an environment variable.
Syntax
bool IsEnvVarPath {get;}

Property Value

true if this path is prefixed with an environment variable, else returns false.
Remarks
A path prefixed with an environment variable can be down-casted to IEnvVarPath. A IEnvVarPath can be down-casted to a IEnvVarFilePath or (exclusive) a IEnvVarDirectoryPath.
Requirements

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

See Also

Reference

IPath Interface
IPath Members