string GetRelativeTo (string path, string anchorPath)
Determines the relative path from the absolute anchor path to the absolute destination path.May return an absolute path if no relative path exists.
Exceptions:
OutOfMemoryException | Thrown when a low memory situation occurs. |
Parameters:
path | Full pathname of the file. |
anchorPath | Full pathname of the anchor file. |
Returns:
The relative to path.
Last modified date: 10/14/2020