NDepend.API Documentation
UpdateExtension Method (IEnvVarFilePath)
NDepend.Path Namespace > IEnvVarFilePath Interface : UpdateExtension Method
The new file extension. It must begin with a dot followed by one or many characters.
Returns a new file path prefixed with an environment variable, representing this file with its file name extension updated to newExtension.
Syntax
IEnvVarFilePath UpdateExtension( 
   string newExtension
)

Parameters

newExtension
The new file extension. It must begin with a dot followed by one or many characters.
Requirements

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

See Also

Reference

IEnvVarFilePath Interface
IEnvVarFilePath Members