Delen via


Workspace.CheckProjectIsNotInCurrentSolution(ProjectId) Method

Definition

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

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)

Parameters

projectId
ProjectId

Applies to