PathUtilities.ConvertSharedPathToLocalPathIfNecessary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a potential vsls:// uri path to the server side local path.
public static string? ConvertSharedPathToLocalPathIfNecessary (this Microsoft.VisualStudio.ProjectSystem.Query.Execution.IQueryExecutionContext executionContext, string? path);
static member ConvertSharedPathToLocalPathIfNecessary : Microsoft.VisualStudio.ProjectSystem.Query.Execution.IQueryExecutionContext * string -> string
<Extension()>
Public Function ConvertSharedPathToLocalPathIfNecessary (executionContext As IQueryExecutionContext, path As String) As String
Parameters
- executionContext
- IQueryExecutionContext
The context of the query.
- path
- String
A path, the path can be a normal file path or a vsls:// uri.
Returns
A local file path.