共用方式為


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

傳回

適用於