共用方式為


Workspace.CheckProjectIsNotInCurrentSolution(ProjectId) 方法

定義

擲回例外狀況是專案是目前解決方案的一部分。

protected:
 void CheckProjectIsNotInCurrentSolution(Microsoft::CodeAnalysis::ProjectId ^ projectId);
protected void CheckProjectIsNotInCurrentSolution (Microsoft.CodeAnalysis.ProjectId projectId);
member this.CheckProjectIsNotInCurrentSolution : Microsoft.CodeAnalysis.ProjectId -> unit
Protected Sub CheckProjectIsNotInCurrentSolution (projectId As ProjectId)

參數

projectId
ProjectId

適用於