Поделиться через


Solution.AddProject Метод

Определение

Перегрузки

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

Создает новый экземпляр решения, включающий проект с указанным языком и именами.

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

Создайте новый экземпляр решения, содержащий проект с указанными сведениями о проекте.

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

Создает новый экземпляр решения, включающий проект с указанным языком и именами. Возвращает новый проект.

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

Возвращаемое значение

Применяется к