다음을 통해 공유


UpdateExtensions.AddProject Method

Definition

Overloads

AddProject(IAsyncUpdatable<ISolutionFolderSnapshot>, String)

Adds a project to a solution folder.

AddProject(IAsyncUpdatable<ISolutionSnapshot>, String)

Adds a project to a solution.

AddProject(ISolutionSnapshot, String)

Adds a project to a solution.

AddProject(IAsyncUpdatable<ISolutionFolderSnapshot>, String)

Adds a project to a solution folder.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionFolderSnapshot> AddProject (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionFolderSnapshot> solutionFolders, string projectFilePath);
static member AddProject : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionFolderSnapshot> * string -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionFolderSnapshot>
<Extension()>
Public Function AddProject (solutionFolders As IAsyncUpdatable(Of ISolutionFolderSnapshot), projectFilePath As String) As IAsyncUpdatable(Of ISolutionFolderSnapshot)

Parameters

solutionFolders
IAsyncUpdatable<ISolutionFolderSnapshot>

A query to retrieve the solution folder.

projectFilePath
String

A relative or absolute path to the project file.

Returns

Solution folders updated.

Applies to

AddProject(IAsyncUpdatable<ISolutionSnapshot>, String)

Adds a project to a solution.

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

Parameters

solutions
IAsyncUpdatable<ISolutionSnapshot>

A query to retrieve solutions.

projectFilePath
String

A relative or absolute path to the project file.

Returns

Solution updated.

Applies to

AddProject(ISolutionSnapshot, String)

Adds a project to a solution.

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

Parameters

solution
ISolutionSnapshot

The current solution.

projectFilePath
String

A relative or absolute path to the project file.

Returns

Solution updated.

Applies to