Compartir a través de


UpdateExtensions.ReloadProject Method

Definition

Reloads a project in the solution.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> ReloadProject (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> solutions, string projectPath);
static member ReloadProject : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> * string -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot>
<Extension()>
Public Function ReloadProject (solutions As IAsyncUpdatable(Of ISolutionSnapshot), projectPath As String) As IAsyncUpdatable(Of ISolutionSnapshot)

Parameters

solutions
IAsyncUpdatable<ISolutionSnapshot>

A query to retrieve solutions.

projectPath
String

The path of the project to be reloaded. The path can be absolute or relative to the solution file.

Returns

Solution updated.

Applies to