Delen via


Solution.ContainsProject(ProjectId) Method

Definition

True if the solution contains a project with the specified project ID.

public:
 bool ContainsProject(Microsoft::CodeAnalysis::ProjectId ^ projectId);
public bool ContainsProject (Microsoft.CodeAnalysis.ProjectId projectId);
public bool ContainsProject (Microsoft.CodeAnalysis.ProjectId? projectId);
member this.ContainsProject : Microsoft.CodeAnalysis.ProjectId -> bool
Public Function ContainsProject (projectId As ProjectId) As Boolean

Parameters

projectId
ProjectId

Returns

Applies to