共用方式為


Solution.ContainsProject(ProjectId) 方法

定義

如果方案包含具有指定專案識別碼的專案,則為 True。

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

參數

projectId
ProjectId

傳回

適用於