NDepend.API Documentation
UpdateExtension Method (IAbsoluteFilePath)
NDepend.Path Namespace > IAbsoluteFilePath Interface : UpdateExtension Method
The new file extension. It must begin with a dot followed by one or many characters.
Returns a new absolute 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.
Remarks
The returned file nor this file need to exist for this operation to complete properly.
Requirements

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

See Also

Reference

IAbsoluteFilePath Interface
IAbsoluteFilePath Members