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, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IRelativeFilePath Interface
IRelativeFilePath Members