PackageUtilities::MakeRelativeIfRooted Method (String^, Url^)
Visual Studio 2015
Returns a relative path if the specified file path is absolute and if it's in the same folder as the URL or a child folder of the URL.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- fileName
-
Type:
System::String^
The path to convert.
- url
-
Type:
Microsoft.VisualStudio.Shell::Url^
The base URL.
If fileName is already relative, or if it is absolute and does not overlap url, this method returns fileName. Otherwise, it returns the portion of the path that does not overlap url.
Show: