DirectoryPath.

GetRelativePath(DirectoryPath) Method

Summary

Get the relative path to another directory.
Namespace
Cake.Core.IO
Containing Type
DirectoryPath

Syntax

public DirectoryPath GetRelativePath(DirectoryPath to)

Parameters

Name Type Description
to DirectoryPath The target directory path.

Return Value

Type Description
DirectoryPath A DirectoryPath.