Compartir a través de


PathUtilities.ConvertSharedPathToLocalPathIfNecessary Method

Definition

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.

Applies to