共用方式為


AdhocWorkspace.AddProject 方法

定義

多載

AddProject(ProjectInfo)

將專案新增至工作區。 所有先前的專案都會保持不變。

AddProject(String, String)

將專案新增至工作區。 所有先前的專案都會保持不變。

AddProject(ProjectInfo)

Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs

將專案新增至工作區。 所有先前的專案都會保持不變。

public:
 Microsoft::CodeAnalysis::Project ^ AddProject(Microsoft::CodeAnalysis::ProjectInfo ^ projectInfo);
public Microsoft.CodeAnalysis.Project AddProject (Microsoft.CodeAnalysis.ProjectInfo projectInfo);
member this.AddProject : Microsoft.CodeAnalysis.ProjectInfo -> Microsoft.CodeAnalysis.Project
Public Function AddProject (projectInfo As ProjectInfo) As Project

參數

projectInfo
ProjectInfo

傳回

適用於

AddProject(String, String)

Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs

將專案新增至工作區。 所有先前的專案都會保持不變。

public:
 Microsoft::CodeAnalysis::Project ^ AddProject(System::String ^ name, System::String ^ language);
public Microsoft.CodeAnalysis.Project AddProject (string name, string language);
member this.AddProject : string * string -> Microsoft.CodeAnalysis.Project
Public Function AddProject (name As String, language As String) As Project

參數

name
String
language
String

傳回

適用於