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

适用于