Share via


Workspace.CheckProjectIsInCurrentSolution(ProjectId) Method

Definition

Throws an exception if the project is not part of the current solution.

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)

Parameters

projectId
ProjectId

Applies to