FilePath.

ChangeExtension(string) Method

Summary

Changes the file extension of the path.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.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 Wyam.Common.IO.FilePath with a new extension.
GitHub