FilePath.

GetRelativePath(FilePath) Method

Summary

Get the relative path to another file.
Namespace
Cake.Core.IO
Containing Type
FilePath

Syntax

public FilePath GetRelativePath(FilePath to)

Parameters

Name Type Description
to FilePath The target file path.

Return Value

Type Description
FilePath A FilePath.