bool TryGetRelativePathFrom( IAbsoluteDirectoryPath pivotDirectory, out IRelativeFilePath relativeFilePath, out string failureReason )
Parameters
- pivotDirectory
- The pivot directory from which the relative path is computed.
- relativeFilePath
- A new relative file path representing this file relative to pivotDirectory.
- failureReason
- If this method returns false, contains a plain-english message explaining why it failed.
Return Value
true if the operation works, else returns false.