Solution.AddProject 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddProject(ProjectId, String, String, String) |
创建一个新的解决方案实例,其中包含具有指定语言和名称的项目。 |
AddProject(ProjectInfo) |
创建包含具有指定项目信息的项目的新解决方案实例。 |
AddProject(String, String, String) |
创建一个新的解决方案实例,其中包含具有指定语言和名称的项目。 返回新项目。 |
AddProject(ProjectId, String, String, String)
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
创建一个新的解决方案实例,其中包含具有指定语言和名称的项目。
public:
Microsoft::CodeAnalysis::Solution ^ AddProject(Microsoft::CodeAnalysis::ProjectId ^ projectId, System::String ^ name, System::String ^ assemblyName, System::String ^ language);
public Microsoft.CodeAnalysis.Solution AddProject (Microsoft.CodeAnalysis.ProjectId projectId, string name, string assemblyName, string language);
member this.AddProject : Microsoft.CodeAnalysis.ProjectId * string * string * string -> Microsoft.CodeAnalysis.Solution
Public Function AddProject (projectId As ProjectId, name As String, assemblyName As String, language As String) As Solution
参数
- projectId
- ProjectId
- name
- String
- assemblyName
- String
- language
- String
返回
适用于
AddProject(ProjectInfo)
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
创建包含具有指定项目信息的项目的新解决方案实例。
public:
Microsoft::CodeAnalysis::Solution ^ AddProject(Microsoft::CodeAnalysis::ProjectInfo ^ projectInfo);
public Microsoft.CodeAnalysis.Solution AddProject (Microsoft.CodeAnalysis.ProjectInfo projectInfo);
member this.AddProject : Microsoft.CodeAnalysis.ProjectInfo -> Microsoft.CodeAnalysis.Solution
Public Function AddProject (projectInfo As ProjectInfo) As Solution
参数
- projectInfo
- ProjectInfo
返回
适用于
AddProject(String, String, String)
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
创建一个新的解决方案实例,其中包含具有指定语言和名称的项目。 返回新项目。
public:
Microsoft::CodeAnalysis::Project ^ AddProject(System::String ^ name, System::String ^ assemblyName, System::String ^ language);
public Microsoft.CodeAnalysis.Project AddProject (string name, string assemblyName, string language);
member this.AddProject : string * string * string -> Microsoft.CodeAnalysis.Project
Public Function AddProject (name As String, assemblyName As String, language As String) As Project
参数
- name
- String
- assemblyName
- String
- language
- String