Delen via


Solution.WithProjectName(ProjectId, String) Method

Definition

Creates a new solution instance with the project specified updated to have the name.

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

Parameters

projectId
ProjectId
name
String

Returns

Applies to