FilePath.

ChangeExtension(string) Method

Summary

Changes the file extension of the path.
Namespace
Cake.Core.IO
Containing Type
FilePath

Syntax

public FilePath ChangeExtension(string extension)

Parameters

Name Type Description
extension string The new extension.

Return Value

Type Description
FilePath A new FilePath with a new extension.