Workspace.CheckProjectIsInCurrentSolution(ProjectId) 方法

定义

如果项目不是当前解决方案的一部分,则引发异常。

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

参数

projectId
ProjectId

适用于