Skip to content

IFileSystem.GetRelativePath method

Returns a relative path from one path to another.

public string GetRelativePath(string relativeTo, string path)
parameter description
relativeTo The source path the result should be relative to.
path The destination path.

Return Value

The relative path.

See Also