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

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

IRelativeFilePath Interface
IRelativeFilePath Members