Solution.WithProjectName(ProjectId, String) 方法

定义

创建一个新的解决方案实例,其中指定的项目已更新为具有名称。

public:
 Microsoft::CodeAnalysis::Solution ^ WithProjectName(Microsoft::CodeAnalysis::ProjectId ^ projectId, System::String ^ name);
public Microsoft.CodeAnalysis.Solution WithProjectName (Microsoft.CodeAnalysis.ProjectId projectId, string name);
member this.WithProjectName : Microsoft.CodeAnalysis.ProjectId * string -> Microsoft.CodeAnalysis.Solution
Public Function WithProjectName (projectId As ProjectId, name As String) As Solution

参数

projectId
ProjectId
name
String

返回

适用于